summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Wenhao Wang <wenhaowang@google.com> 2022-02-02 10:56:44 -0800
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2022-05-16 21:11:29 +0000
commit823df81dfb7ce0aced020b48a77849d38872b751 (patch)
treef9c65589905b2360609ff3e1a2a7d2648bce0c82 /libs/input/PointerController.cpp
parent187187a31441e44c29d13c1a04c932abc420b709 (diff)
DO NOT MERGE Suppress notifications when device enter lockdown
This CL makes the following modifcations: 1. Add LockPatternUtils.StrongAuthTracker to monitor the lockdown mode status of the phone. 2. Call mListeners.notifyRemovedLocked with all the notifications in the mNotificationList when entering the lockdown mode. 3. Call mListeners.notifyPostedLocked with all the notifications in the mNotificationList when exiting the lockdown mode. 4. Dismiss the function calls of notifyPostedLocked, notifyRemovedLocked, and notifyRankingUpdateLocked during the lockdown mode. The CL also adds corresponding tests. Bug: 173721373 Test: atest NotificationManagerServiceTest Test: atest NotificationListenersTest Test: manually verify the paired device cannot receive notifications when the host phone is in lockdown mode. Ignore-AOSP-First: pending fix for a security issue. Change-Id: I7e83544863eeadf8272b6ff8a9bb8136d6466203 Merged-In: I7e83544863eeadf8272b6ff8a9bb8136d6466203 (cherry picked from commit 3cb6842a053e236cc98d7616ba4433c31ffda3ac) (cherry picked from commit 62845d9af7d9695d1019bd6d8b0ccb223ace52d3) Merged-In: I7e83544863eeadf8272b6ff8a9bb8136d6466203
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions