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

Commit 9837473a authored by Roman Birg's avatar Roman Birg
Browse files

SystemUI: remove duplicate PhoneStatusBar variables



These variables are defined in the super class, BaseStatusBar. So
anything in BaseStatusBar that depends on these variables is always in
the wrong state because they are never updated properly.

This primarily fixes callbacks to IStatusBarService
onPanelRevealed() and onPanelHidden().

Change-Id: I0579c843c825f77278125e7d5059cd11e8576d29
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 8eba73ab
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -658,13 +658,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
    private boolean mAutohideSuspended;
    private int mStatusBarMode;
    private int mNavigationBarMode;
    private Boolean mScreenOn;

    // The second field is a bit different from the first one because it only listens to screen on/
    // screen of events from Keyguard. We need this so we don't have a race condition with the
    // broadcast. In the future, we should remove the first field altogether and rename the second
    // field.
    private boolean mScreenOnFromKeyguard;

    private ViewMediatorCallback mKeyguardViewMediatorCallback;
    private ScrimController mScrimController;
@@ -679,7 +672,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
            }
        }};

    private boolean mVisible;
    private boolean mWaitingForKeyguardExit;
    private boolean mDozing;
    private boolean mScrimSrcModeEnabled;