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
8 files changed