This MR resolves Google Maps driving mode terminating VLC within 10 seconds after launch. Several small clean-ups are also included.
Motivation and Context
See #2248 (closed)
How Has This Been Tested?
Tested on a Pixel 3 running Android 11
Types of changes
Bug fix (non-breaking change which fixes an issue)
I have read the CONTRIBUTING section of the README document.
Fixes: #2248 (closed)