Merge "Disable recent only when face enrolled and secure applications launched" into udc-qpr-dev
This commit is contained in:
@@ -3285,7 +3285,8 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
|
|||||||
flags |= StatusBarManager.DISABLE_RECENT;
|
flags |= StatusBarManager.DISABLE_RECENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mPowerGestureIntercepted && mOccluded && isSecure()) {
|
if (mPowerGestureIntercepted && mOccluded && isSecure()
|
||||||
|
&& mUpdateMonitor.isFaceEnrolled()) {
|
||||||
flags |= StatusBarManager.DISABLE_RECENT;
|
flags |= StatusBarManager.DISABLE_RECENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user