summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2020-05-08 11:56:18 -0400
committerEvan Laird <evanlaird@google.com>2020-05-18 16:28:56 -0400
commit9b2a480ceb42bb7a79a1ff532dac42b0f407a88f (patch)
tree8bc2bec98fb56c3d1de7983b288e9aaeefe4c95e /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
parent31db4f456b3a0feba50719d8a08d5d4c75afb1b1 (diff)
Create a shim for StatusBarManager click methods
`StatusBarManager#onNotificationClick` and `StatusBarManager#onNotificationActionClick` are signals we send to system server about notification clicks. This CL adds a shim so that we can have an in-process callback about the exact same events. This CL also adds NotificationInteractionTracker, which basically just merges the NotificationClickNotifier callbacks with the notification collection and will be able to answer the question "has the user interacted with this notification" Lastly, this modifies the logic in ForegroundServiceLifetimeExtender which now checks the interaction flag for notifications. So if a user tapped on a notification action (for instance) which _then_ triggers a notification cancel, it will succeed. It _does not_ as of yet release the notification from lifetime extension upon interaction. So if a notification is canceled and then interacted with, it will still live the full amount of time. Test: atest SystemUITests Bug: 144324894 Change-Id: I42201d6e7b7ffe9ad4f19c774b638a36a51750ef
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions