Remove main thread IPC

Test: pull down shade with phone locked and dynamic privacy
Fixes: 139308527
Change-Id: Ie79a2865a9ecf591451dfd4dd10eb523d10862c9
This commit is contained in:
Lucas Dupin
2019-08-16 17:01:28 -07:00
parent d084c899d9
commit e36d8d8645

View 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();