Depends on who is counting the votes.
https://www.sos.ca.gov/elections/primary-elections-california/
Can independent or write-in candidates for voter-nominated offices run in the general election?
No. All candidates, including candidates who would have used the former independent nomination process, are allowed to run for a voter-nominated office in a primary election. All primary candidates for an office are listed on a single ballot, and only the two candidates who get the most votes in the primary election will move on to the general election.
Write-in candidates for voter-nominated offices can still run in the primary election. However, a write-in candidate can only move on to the general election if the candidate is one of the top two vote-getters in the primary election.
Candidates running for the office of U.S. President, however, can run in the general election as either a Presidential Elector using the independent nomination process or a Presidential Elector write-in candidate.