问题
Many popular third parties apps and users are hiding the navigation bar by using a particular ADB command:
adb shell wm overscan 0,0,0,-202
The particular thing of this command is if you check the presence of the navigation bar by reading a boolean from Android resources it will always return true (navigation bar is not hidden).
That tricky ADB command doesn't hide the navigation bar it just moves it off the screen.
Is there a way to detect this?
来源:https://stackoverflow.com/questions/60980095/check-if-the-navigation-bar-is-hidden-with-adb-command-overscan