summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-03-12 17:21:42 -0700
committer William Xiao <wxyz@google.com> 2024-03-12 17:39:27 -0700
commitf3e10f8b42f1691c3b3bf27bf1389a81b1e6639f (patch)
tree658ae43acf4487bc16e597a7b5997d708ba98d6f /libs/hwui/FrameInfoVisualizer.cpp
parente78b2da84d518c3df957fa06b52b56b91295cfb3 (diff)
Don't stop or restart hub timeout when dreaming state changes
While we only want to actually close the hub if the timeout is triggered while the user is dreaming, we don't want starting or stopping dreaming to affect the timer as it isn't a user interaction and happens underneath the hub. This means that if the screen timeout is 2 minutes, opening the hub over the lock screen, spending 1 minute idle, docking the device to start dreaming, then waiting another minute, will result in the hub closing due to the timeout. Bug: 323247392 Fixed: 323247392 Test: atest CommunalSceneStartableTest also manually verified on device Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: I3c6639035f579226d334ce96040ec03a631076e0
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions