We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7933b70 + 2dbe444 commit e690f56Copy full SHA for e690f56
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -2031,8 +2031,13 @@ void updateExpandedSize() {
2031
// The user is not allowed to get stuck without navigation UI. Upon the slightest user
2032
// interaction we bring the navigation back.
2033
public void userActivity() {
2034
- if (mNavigationBarView != null) {
2035
- mNavigationBarView.setHidden(false);
+ if (0 != (mSystemUiVisibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION)) {
+ try {
2036
+ mBarService.setSystemUiVisibility(
2037
+ mSystemUiVisibility & ~View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
2038
+ } catch (RemoteException ex) {
2039
+ // weep softly
2040
+ }
2041
}
2042
2043
0 commit comments