Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 55b5ae05 authored by Evan Rosky's avatar Evan Rosky Committed by Android Build Coastguard Worker
Browse files

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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:13a49267c37ddc5ca7c332b4e4d82c9229b2667e)
Merged-In: I75ec662ebde04acb7d083643b027ea56e233dbce
Change-Id: I75ec662ebde04acb7d083643b027ea56e233dbce
parent fe291cc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment