diff options
author | Amith Yamasani <yamasani@google.com> | 2017-11-09 17:47:04 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2017-11-16 09:15:03 -0800 |
commit | 803eab6906427517b22c7fd42b21dbf57456eb72 (patch) | |
tree | e47f1174a660b5c0960c78258295a048a0ba8f9f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c8e3c7c816a4d9de42579df11d9302e117070ea1 (diff) |
Add a new usage event type for seen notification
On a notification becoming visible, NOTIFICATION_SEEN event is
dispatched. This will only bump up the app's bucket to WORKING_SET and
no higher. Same goes for sync adapters associated with a content
provider. Only move them to WORKING_SET.
Updated NotificationManagerService to report event to usagestats on
visibility changes.
Bug: 63527785
Test: runtest -x
frameworks/base/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java
atest NotificationManagerServiceTest
Change-Id: I5b132e1fc1f70e2126473b43b9b1979fbc523b85
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions