OSDN Git Service

Remove main thread IPC
authorLucas Dupin <dupin@google.com>
Sat, 17 Aug 2019 00:01:28 +0000 (17:01 -0700)
committerLucas Dupin <dupin@google.com>
Tue, 20 Aug 2019 17:54:34 +0000 (17:54 +0000)
Test: pull down shade with phone locked and dynamic privacy
Fixes: 139308527
Change-Id: Ie79a2865a9ecf591451dfd4dd10eb523d10862c9

packages/SystemUI/src/com/android/systemui/statusbar/notification/DynamicPrivacyController.java

index d9328fa..e4bd4fa 100644 (file)
@@ -107,7 +107,7 @@ public class DynamicPrivacyController implements UnlockMethodCache.OnUnlockMetho
      */
     public boolean isInLockedDownShade() {
         if (!mStatusBarKeyguardViewManager.isShowing()
-                || !mStatusBarKeyguardViewManager.isSecure()) {
+                || !mUnlockMethodCache.isMethodSecure()) {
             return false;
         }
         int state = mStateController.getState();