Merge "Allow translucent and hidden system bars when EBT is turned on"

This commit is contained in:
Alan Viverette
2015-08-13 15:42:23 +00:00
committed by Android (Google) Code Review

View File

@@ -1699,8 +1699,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
* navigation bar and touch exploration is not enabled
*/
private boolean canHideNavigationBar() {
return mHasNavigationBar
&& !mAccessibilityManager.isTouchExplorationEnabled();
return mHasNavigationBar;
}
@Override
@@ -6778,8 +6777,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
* R.boolean.config_enableTranslucentDecor is false.
*/
private boolean areTranslucentBarsAllowed() {
return mTranslucentDecorEnabled
&& !mAccessibilityManager.isTouchExplorationEnabled();
return mTranslucentDecorEnabled;
}
// Use this instead of checking config_showNavigationBar so that it can be consistently