diff options
| author | 2023-07-21 14:41:39 +0200 | |
|---|---|---|
| committer | 2023-07-24 13:10:59 +0000 | |
| commit | 239bcc21f89e3947411e57ebc6bc60467bf21d86 (patch) | |
| tree | f028d10aaffcdcac66d8540bcd068f50122af59a /cmds/bootanimation/BootAnimation.cpp | |
| parent | 497b75bb1d1e63b2b7f5fccd4739eee9459b64d1 (diff) | |
Clear notifications for packages whose permission is revoked
This is a rollforward of ag/24038746, with two differences:
* Ignore onOpChanged callbacks for non-initialized users. We realized this is being called for all packages on first start.
* Only send the ACTION_APP_BLOCK_STATE_CHANGED broadcast on manual changes coming form Settings. This is less "theoretically correct" than the previous CL, but added in the event there are more cases where onOpChanged is called unexpectedly.
Test: atest NotificationManagerService + manual
Fixes: 288651621
Change-Id: I7222cdbd09d51523ab16fe44a3c12dfdce0e7365
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions