summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2023-11-03 14:54:09 -0400
committer Lucas Silva <lusilva@google.com> 2023-11-03 14:59:07 -0400
commit68ed66dc60e27c65940ecde03e18b2fc8c977d9a (patch)
treec0584ae7711a86992450865af34c22431b22fcfc /libs/hwui/FrameInfoVisualizer.cpp
parent9cbaf67401724d8fbe1276ebcb9b08e9cd7845d8 (diff)
Allow dark mode to turn on/off automatically while dreaming.
Currently dark mode schedules will wait until the screen turns off prior to switching between light/dark themes. This avoids interrupting the user while they are using the device. However, on devices where screensavers are prevalent, the screen may never turn off and therefore we will never switch between modes. This change ensures that the switch can occur while the device is dreaming. Fixes: 306272618 Test: atest UiModeManagerServiceTest Change-Id: Ide068813075fc410fc6c6b4531cb09b7d6e11a84
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions