98fb75eaf45370ead657c78e03d5bf7b83f67a6b |
|
26-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Fix night mode for config-based color upconversions This works around an issue in the platform where night-configured color resources which are converted to ColorDrawables are not purged from the Resources cache. Fixed by manually forcing the resources instance to purge its caches when the night mode changes. BUG: 30132023 Change-Id: I68128bd752d7c8451940631df336154246e921ae
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/NightModeTestCase.java
|