0%

adb启用沉浸模式

To only hide the status bar:

Code:
adb shell settings put global policy_control immersive.status=*
To only hide the navigation bar:

Code:
adb shell settings put global policy_control immersive.navigation=*
To hide both status and nav bar:

Code:
adb shell settings put global policy_control immersive.full=*
Return things to normal:

Code:
adb shell settings put global policy_control null*