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

Commit 4b74b628 authored by Roman Birg's avatar Roman Birg
Browse files

SystemUI: add missed super window calls



onAttachToWindow() and onDetatchedFromWindow() were added in
d45c6d4f, however they do not call
through to the super PanelView versions of those methods.

Change-Id: I52b4b76835f2704acf08f4134a31ec6e19fd8e31
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 1fd70b1a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -351,6 +351,7 @@ public class NotificationPanelView extends PanelView implements

    @Override
    public void onAttachedToWindow() {
        super.onAttachedToWindow();
        mSecureCameraLaunchManager.create();
        mSettingsObserver.observe();
        KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mInfoCallback);
@@ -358,6 +359,7 @@ public class NotificationPanelView extends PanelView implements

    @Override
    public void onDetachedFromWindow() {
        super.onDetachedFromWindow();
        mSecureCameraLaunchManager.destroy();
        mSettingsObserver.unobserve();
        KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mInfoCallback);