I think there was already a Supreme Court case that said they could search a phone on any stop, if it’s “available to the driver” or something like that. In that case, locking it in the glove compartment made it off limits.
That would be the California Supreme Court, not SCOTUS.
http://reason.com/blog/2011/01/05/california-supreme-court-cell