On a second attempt, California lawmakers advanced a bill Thursday that would require electronics manufacturers to install a shut-off function in all smartphones as a way to deter what one senator called a crime wave of thefts.