Merge "Restore activityPaused to a sync binder call" into sc-dev am: f74209c9b5 am: 2b24c3d611

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13425347

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0e63382c6065369311de9a9dd64816dff23cc03b
This commit is contained in:
Riddle Hsu
2021-01-28 12:57:29 +00:00
committed by Automerger Merge Worker

View File

@@ -36,7 +36,13 @@ interface IActivityClientController {
oneway void activityIdle(in IBinder token, in Configuration config, in boolean stopProfiling);
oneway void activityResumed(in IBinder token);
oneway void activityTopResumedStateLost();
oneway void activityPaused(in IBinder token);
/**
* Notifies that the activity has completed paused. This call is not one-way because it can make
* consecutive launch in the same process more coherent. About the order of binder call, it
* should be fine with other one-way calls because if pause hasn't completed on the server side,
* there won't be other lifecycle changes.
*/
void activityPaused(in IBinder token);
oneway void activityStopped(in IBinder token, in Bundle state,
in PersistableBundle persistentState, in CharSequence description);
oneway void activityDestroyed(in IBinder token);