Skip to content
Commit 201cdd50 authored by Beverly's avatar Beverly
Browse files

Remove onBeforeNotificationAdded call

By moving where appOps of notifications gets set

When appOps change:
 StatusBar detects appOp change and propogates change to
 ForegroundServiceController which stores appOp change
 (in case notification hasn't been added yet).
 This controller will also update the appOps of the relevant
 pending/visible notification

When a notification is added/updated:
 ForegroundServiceNotificationListener updates the
 relevant notification's appOps

Test: atest NotificationEntryManagerTest NotificationDataTest
Test: atest ForegroundServiceControllerTest
Change-Id: I3af4a2cf599d3eba7a0ba6006b3919730e5e658a
parent cabc32d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment