diff options
author | Jeff DeCew <jeffdq@google.com> | 2021-08-20 16:16:21 -0400 |
---|---|---|
committer | Jeff DeCew <jeffdq@google.com> | 2021-09-09 14:59:59 -0400 |
commit | 5cb7307ebb1f7daff7e0123d853ec52c49553171 (patch) | |
tree | 0cb8bd889c97d97ccb7da8a1777f7a67fbf2d646 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 62cf8a14908451d7101e3836b2def53ae51aa9a0 (diff) |
Refactor the color span code inside Notification.java and add tests.
* This makes it easy to reduce the contrast requirement between the notification background and the button fill in another review.
* This also fixes a bug where partial-length color spans within the emphasized buttons would be contrast-adjusted only with the notification background color rather than the button fill color.
Bug: 196393060
Fixes: 197572220
Test: manual testing using the go/notify2-apk and the CallStyle color customizer
Test: android.app.NotificationTest
Change-Id: I712e6d6b2da1de89afeacda7bd2fc4ad24632811
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions