diff options
author | Mady Mellor <madym@google.com> | 2020-01-08 17:18:54 -0800 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2020-01-21 12:51:04 -0800 |
commit | 2ac2d3aafccb6728b89be610ec9feb22c010e1ad (patch) | |
tree | 8ea469f3e0454d85421b234b27d9e47902ee05cd /rs/java/android/renderscript/RenderScriptGL.java | |
parent | 871fe0a968e39dc4c78d2ee6e82cb5f15d183d20 (diff) |
Bubble API: Allow developers to create BubbleMetadata from a shortcut id
Adds an option to specify a bubble via a shortcutId. If the builder had
icon / intent previously specified, the shortcutId will clobber those
and vice versa.
Unfortunately, this means that BubbleMetadata#getIcon and #getIntent may
return null when previously they were non-null. I've deprecated these
getters and introduced new ones along with new setters so that the naming
remains consistent.
NoMan will check if that shortcut exists before applying FLAG_BUBBLE.
Update SystemUI to use BubbleMetadata builder with shortcut id for the
shortcut experiment.
Adds test to ensure the launcher apps callback is added / removed
appropriately & that notifs with shortcut bubbles are properly flagged
or unflagged.
Test: atest NotificationManagerServiceTest
Test: atest NotificationTest NotificationManagerTest (see CTS CL)
Bug: 138116133
Bug: 144352570
Change-Id: I2e8155edc7fd70d6978fc80310f071bf6510e0d2
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions