diff options
author | Gus Prevas <kprevas@google.com> | 2018-12-28 14:57:59 -0500 |
---|---|---|
committer | Gus Prevas <kprevas@google.com> | 2019-01-04 14:05:43 -0500 |
commit | eb4e2e1139c552ef2ac623cace933c6dbebf0a25 (patch) | |
tree | 4eb28cad745346bee35fe91c9c1090ca4a3efea5 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | ccb544069ba910e917aa28742f58ece025ff4f67 (diff) |
Factors out notification listening from ForegroundServiceController.
This change introduces the ForegroundServiceNotificationListener
component, which contains the logic formerly in
ForegroundServiceController for updating its state in response to
notification events. ForegroundServiceNotificationListener adds a
standard NotificationEntryListener to the NotificationEntryManager,
allowing us to remove the explicit calls from NotificationEntryManager;
splitting this out to its own class prevents us from introducing a
circular dependency since NotificationEntryManager still needs to use
the query methods on ForegroundServiceController.
Test: atest SystemUITests, manual
Change-Id: Iec72aa3a9fd90e3f0079db3b2a3c4f1882e59731
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions