SACRAMENTO (AP) — Legislation requiring manufacturers to install shut-off functions in smartphones as a way to deter thefts is on the verge of passing the Legislature.

The bill passed the state Assembly on a 51-18 vote Thursday and returns to the Senate for a final vote on amendments.

READ MORE: Fox, Hield Lead Kings Over Lakers 141-137 In Triple OT

Democratic Sen. Mark Leno of San Francisco says Senate Bill 962 responds to an exploding crime problem. Under his bill, smartphones must be sold with technology that deactivates them if stolen. It does not apply to tablets or laptops.

SB962 is supported by law enforcement and consumer groups. Manufacturers including Apple, Samsung and Blackberry dropped their initial opposition after lawmakers agreed to amendments.

READ MORE: LAPD Releases Video Of Officer Using Taser Gun On Man With Sword

A wireless trade group remains opposed, saying deactivation rules should not vary by state.

The bill will take effect in July 2015 if signed by the governor.

MORE NEWS: Black Friday: Another High-End Store Is Robbed, Prompting LAPD To Issue City-Wide Tactical Alert

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)