i am connecting my phone with USB (using MSC) to my car for listening to the music on the phone's microSD card.
It only works, when the screen was unlocked before connecting the phone. Also, when turning off the car's engine and starting it again, I must disconnect the phone, unlock the screen, and connect it again. This is very inconvenient.
Is it possible to allow USB connections without unlocking the screen?
Phone info: Sony Xperia Z3 with Android 5.0.2.