summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2024-12-17 17:08:19 -0800
committer Evan Rosky <erosky@google.com> 2024-12-17 17:14:42 -0800
commit13a49267c37ddc5ca7c332b4e4d82c9229b2667e (patch)
treec347bdf5777960802a822112b7aa73e0f87b981e /api/api.go
parente935d45ef4f092551b1ffa579e88867efcf4f884 (diff)
Don't wait for client completePause when sleeping
The client process suspension doesn't wait for WM to be "ready" (despite the documentation in goToSleepIfPossible). This means that sometimes the client will NOT report completePause until the display is turned back on. So we need to assume that if the display is sleeping, we don't need to wait for client onPause to consider the activity sync-finished. Bug: 383245220 Test: with a slow app running, turn screen off and back on quickly Flag: EXEMPT bugfix Change-Id: I75ec662ebde04acb7d083643b027ea56e233dbce
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions