diff options
author | Mady Mellor <madym@google.com> | 2019-04-01 16:04:24 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2019-04-02 23:00:55 +0000 |
commit | be7979616c74493d704bd57f8bcf678cd62c068f (patch) | |
tree | 824be8b10a5a986512472e620e289f67df443086 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fc02cc3bffcb9f4a66ce2162ac09109ec1ddeb16 (diff) |
Enforce new bubble policy in NoMan
If the app is foreground & the notification wants & is allowed to bubble
then we bubble.
Otherwise, the notification only gets flag bubble if it:
- is messaging style OR
- phone call with foreground service with person
If the app is foreground & something that typically wouldn't be allowed
to bubble gets to bubble, as long as that bubble is around, subsequent
updates to it will also be flagged as a bubble. Once the bubble / notif
is removed, subsequent notifs will not bubble.
Adds a tests for these various requirements.
Test: atest NotificationManagerServiceTest
Bug: 129147774
Change-Id: I27d28566af4c29ec59430939f82ac2fcedeb75fe
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions