[Tricks] Enable immersive mode with ADB command

//Turn on immersive mode (hide both status and navigation bars)
adb shell settings put global policy_control immersive.full=*
//Hide the navigation bar only
adb shell settings put global policy_control immersive.navigation=*
//These commands could be applied to specific apps, just replace the "*" with package names
//For example, if we want to immersive the Chrome and the Maps, just use the following command
adb shell settings put global policy_control immersive.full=com.android.chrome,com.google.android.apps.maps
//Revert to the standard mode
adb shell settings put global policy_control null

Leave a Reply

Your email address will not be published. Required fields are marked *