History log of /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/NightModeTestCase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
12acd8f6d6926aaa5cc16543386e0aeee64716ed 30-Jun-2016 Chris Banes <chrisbanes@google.com> Make sure we recreate the Activity for night changes

Also added a delayed runnable which will automatically
update if we go over a time change while an Activity is
open.

BUG: 29872805

Change-Id: I2581efebe641d94e9e35c6ce63199ddcee40ee42
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/NightModeTestCase.java