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

Commit 817f3cd4 authored by Alan Viverette's avatar Alan Viverette
Browse files

Allow translucent and hidden system bars when EBT is turned on

Bug: 21730477
Change-Id: I4fbbe3b86ef41de7d58c37e17957a885d01895e6
parent c91edfaf
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
@@ -6779,8 +6778,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