The pattern of facts here is, if you get pulled offer, arrested for DUI and driving without a license (both of which are arrestable offenses), and the cop finds a loaded gun in your car, you cannot claim that your "expectation of privacy" protects the contents of the phone with your picture on it sitting in clear view in the passenger compartment.
The law's purpose when written does not preclude all the clever uses they find for it afterward.
Out of the gate, say tomorrow, when this law starts getting leveraged against folks I was saying that getting your phone searched specifically because you were talking or texting on it and an officer caught you were likely two different things (there are already "don't use while driving" laws in CA I think).
But like you said, weeks-months-years down the road, there could be some very creative (read: awful) applications of this; just like we saw with wire taping and the "national security" catch all after 9/11.
If you want to force the situation into a grey area, use a strongly encrypted passphrase protected phone, like an iPhone. You'll have a lot more room to maneuver in the case where someone tries to compel you to divulge your passphrase. That's not what happened here.
This law isn't about keeping people safer, whether you were on your phone or not the officer has the right to search it (apparently). I imagine the motivations for this law is the same straw men they always are: drug dealers, illegal activity, child pornography, etc. etc.
> I also don't want some random police officer rifling through my private text messages, e-mails and voicemails for the purposes of seeing if I should get another ticket.
I don't even think it is that clear cut; if the officer pulled you over, he already has a reason to ticket you. Looking through your phone isn't going to make that better/worse unless you are involved in illicit activity and they find evidence of that on your phone. Then worse :)
> Additionally, I often make short trips for lunch (.1 miles or less). If a police officer does go through my phone, how is he to know I didn't send that text just as I got in my car before I left Wendy's to return to the office?
You don't need to worry about this (not what the law is for).