summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2020-01-30 16:06:53 -0800
committerMady Mellor <madym@google.com>2020-01-30 16:06:53 -0800
commitf9439ab4072c71b294167524fdddb5cbe39a5923 (patch)
tree0e54f8abedf868e8d894ffcdab39f5990f07921f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8ac84650bd51551a53b4bcbb6a4b2b535121d2c5 (diff)
Fix experimental bubbles from HUN'ing when they shouldn't
I changed this to onNotificationAdded so that we could extract the avatar generated for the messaging template for experimental bubbles, however, that breaks how notification interruption state provider (NISP) works (we get onNotificationAdded after it goes through NISP that to check if the notif should HUN). It's technically more correct to use onPendingEntryAdded here, so lets do that. If the person object doesn't have an avatar we'll end up using the small or large icon from the notification instead, this at least works for most apps I've tried with experimental bubbles. Test: have no hangouts bubbles, get a hangouts bubble, note that it doesn't HUN Fixes: 148609860 Change-Id: I6e19e49b8b5f13969c30410450826bf480fb9d34
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions