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 Original line Diff line number Diff line
@@ -1699,8 +1699,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
     *         navigation bar and touch exploration is not enabled
     *         navigation bar and touch exploration is not enabled
     */
     */
    private boolean canHideNavigationBar() {
    private boolean canHideNavigationBar() {
        return mHasNavigationBar
        return mHasNavigationBar;
                && !mAccessibilityManager.isTouchExplorationEnabled();
    }
    }


    @Override
    @Override
@@ -6779,8 +6778,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
     * R.boolean.config_enableTranslucentDecor is false.
     * R.boolean.config_enableTranslucentDecor is false.
     */
     */
    private boolean areTranslucentBarsAllowed() {
    private boolean areTranslucentBarsAllowed() {
        return mTranslucentDecorEnabled
        return mTranslucentDecorEnabled;
                && !mAccessibilityManager.isTouchExplorationEnabled();
    }
    }


    // Use this instead of checking config_showNavigationBar so that it can be consistently
    // Use this instead of checking config_showNavigationBar so that it can be consistently