diff options
| author | 2017-12-07 20:16:03 +0000 | |
|---|---|---|
| committer | 2017-12-07 20:16:03 +0000 | |
| commit | 6e11c3883ce2d0c1ea137dd68b8f52bf3ab19d38 (patch) | |
| tree | 284efdfe5271947d052ce52d6501ca5b4981c7ab | |
| parent | e224d7ab8ce2c766a16c0c6b2ed398bba6c4e398 (diff) | |
| parent | 243c731f7f70bd1fa1fe995c52d065ae2d63279d (diff) | |
Merge "Fix cyclic keyguard state notification"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 3e3244629630..59533e602ae1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java @@ -649,15 +649,6 @@ public class StatusBar extends SystemUI implements DemoMode, .Callback() { @Override public void onFinished() { - notifyKeyguardState(); - } - - @Override - public void onCancelled() { - notifyKeyguardState(); - } - - private void notifyKeyguardState() { if (mStatusBarKeyguardViewManager == null) { Log.w(TAG, "Tried to notify keyguard visibility when " + "mStatusBarKeyguardViewManager was null"); @@ -665,6 +656,12 @@ public class StatusBar extends SystemUI implements DemoMode, } mStatusBarKeyguardViewManager.onKeyguardFadedAway(); } + + @Override + public void onCancelled() { + // Transition was cancelled because another one took over. + // Nothing to do in here but wait. + } }; private NotificationMessagingUtil mMessagingUtil; |