diff options
author | Alex Mang <alexmang@google.com> | 2020-02-10 16:11:13 -0800 |
---|---|---|
committer | Alex Mang <alexmang@google.com> | 2020-02-19 10:47:12 -0800 |
commit | ac2e48e55360d0f67f60a2babdc36dd434727aa5 (patch) | |
tree | e9a6f69fcc1db62bc97272eca32757185b7f7b43 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 8301f05cd78f1fff3197d225515dd082ebbd606e (diff) |
Adding important people avatars to AoD
Icons will show up on aod, status bar and expanded view. Icons are
currently updated on notification redaction.
We attempt to retreive people icons across a number of sources (in order
of priority):
1. ShortcutManager
2. Notification.getLargeIcon
3. Person.getIcon() from MESSAGE_EXTRAS
4. Notification.getSmallIcon (fallback if everythign fails fails)
Icons are cached when they the notification is an important conversation
and is sensitive
Bug: 144874876
Test: manually on device
Change-Id: I3292d2fbd90e39c4d2fe9eaa5b2855b7b65d89f9
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions