summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2022-04-06 11:44:43 -0400
committer Yuri Lin <yurilin@google.com> 2022-05-02 16:56:03 -0400
commit5dfa2dbca6e810102102bbdff7d6210d8f0af3f3 (patch)
tree08438b6abfea22fd1eb3026539f2be8cab7935f8 /libs/input/PointerController.cpp
parent8b7783d4df91c2835a096365db50c4370a73220a (diff)
Show "review notification permissions" notification
This notification is shown for users who have XML version <4 (newest for now), which includes both users newly upgrading from <T and anyone who has already upgraded to T but not yet seen the notification. This state is tracked using a Settings int that allows for coordination between PreferencesHelper (which reads XML), NMS (shows notification), and the new ReviewNotificationPermissionsReceiver (receives intents from the notification and behaves accordingly). Change also includes a new JobService in order to schedule the job to re-show the notification 7 days in the future if the user requests it. Fixes: 225373531 Test: manual; NotificationManagerServiceTest; PreferencesHelperTest; ReviewNotificationPermissionsReceiverTest; ReviewNotificationPermissionsJobServiceTest Change-Id: I4039728646f706bdc1c01f2c0165721a5b10c9f5
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions