diff options
author | Dan Sandler <dsandler@android.com> | 2018-05-15 14:06:38 -0400 |
---|---|---|
committer | Dan Sandler <dsandler@android.com> | 2018-05-16 08:32:09 -0400 |
commit | 7d67bd4fd7fb6810edebd1c61a96530077c74eda (patch) | |
tree | e10a3c399b2f88196d8e23a0abe3cc17ce7fb637 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 82db2614e450f92e373d0018a5b23d80c13511c2 (diff) |
Improved notification interruptiveness calculation.
Apparently comparing Spannables is dangerous because
the various Span classes do not implement .equals() in any
meaningful way, so all CharSequences must be converted to
flat Strings before being compared.
Lots of additional debug code remains, for the next time we
don't understand why an innocuous notification update
appears to be interruptive.
Test: atest com.android.server.notification.NotificationManagerServiceTest
atest com.android.server.notification.NotificationTest
Bug: 78643290
Change-Id: I1c282238687f28b5b197e28a4b878dc697049f4d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions