SACRAMENTO (KCBS) — A bill by state Sen. Mark Leno, that would require all smartphone manufacturers sold in California to come equipped with anti-theft “kill switches,” passed its first legislative hurdle on Thursday in the state Senate with a 26-8 vote.

The bill, SB 962, failed to pass by just two votes on the Senate floor two weeks ago but Microsoft and Apple dropped their opposition to the bill, which may have influenced the passage of the bill Thursday.

READ MORE: Monterey Bay Tour Boats Encountering 'Friendly Whales' That Like to Socialize
An image captured on a Senate Majority Caucus consultant Brian Green's smartphone shows the final vote tally on SB 962. (Brian Green)

An image captured on a Senate Majority Caucus consultant Brian Green’s smartphone shows the final vote tally on SB 962. (Brian Green)

The legislation applies only to smartphones manufactured after July 1, 2015. Other devices, such as tablets, are not covered.

Before the vote, Leno told KCBS that he saw the bill as good first step and no other state has done this,” he said.

READ MORE: Glide Church Co-Founder, Poet and San Francisco Activist Janice Mirikitani Dies at Age 80

“The real solution will be for Congress to enact across the country legislation.”

The bill will next go before the State Assembly.

MORE NEWS: PG&E to Face Criminal Charges Over Deadly Zogg Fire in Shasta County