diff options
author | Jeff DeCew <jeffdq@google.com> | 2021-03-16 12:59:23 -0400 |
---|---|---|
committer | Jeff DeCew <jeffdq@google.com> | 2021-03-16 15:05:12 -0400 |
commit | 2645b3ef8b5254ccf00661fcbf758071813c5767 (patch) | |
tree | 9393bd48077c0e91d3c8e5727f1b1b32136e785d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4f1ad7e42397d2a597860f4a3bd88c9cbd9e1098 (diff) |
Fix notification colors on theme change.
Causes:
* The theme is implemented with RROs
* RRO state is stored in the ApplicationInfo's overlayPaths
* Notification.extras contains the ApplicationInfo from when the notification was posted
The fix here is to fetch and inject the latest ApplicationInfo (using a method which has a correctly-invalidated cache) right before recovering the builder from the notification to bind content.
Also, because this codepath is operating on the background thread, there are no SystemUI jank risks during the overlay change.
Fixes: 182662365
Test: change theme; notifications change color
Change-Id: Ibdfaf811155d64e0ecb7c70075e3ba4429c6d920
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions