Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b72d41da authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

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

parents 01da2fc7 817f3cd4
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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