summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Sameer Zalke <sameer.zalke@sony.com> 2021-07-20 21:13:56 +0530
committer Mattias Nilsson <mattias.nilsson@sony.com> 2022-04-22 11:15:12 +0000
commit3847d7ed9a6fabe08722102b3dfb46ca1545332e (patch)
tree259cd362dca50a3c8a760011bc997e10bca52ba6 /libs/androidfw/StringPool.cpp
parent54a348cf8400790bc28d2b3a6f213260367a5bd8 (diff)
Dark Theme "TURN ON UNTIL SUNRISE" is not retained after reboot
Dark theme "TURN ON UNTIL SUNRISE"/MODE_NIGHT_AUTO is not kept after reboot. The reason is that TwilightState will takes time to update so lastState will be null in updateConfigurationLocked(). This lead to a reset of mComputedNightMode and mOverrideNightModeOn. This is a special bug for "TURN ON UNTIL SUNRISE"/MODE_NIGHT_AUTO, the other ones work fine and should not be touched, if we do not treat this as a special case we break the other ones. Test: Select "TURN ON UNTIL SUNRISE" in Dark Theme and reboot. Bug: 229228293 Change-Id: Ie32a6ddbbf03fa43ee6dd5e35b3c35ec03e58e0e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions