From 4679918cdfa4939b3d74373a2f77af78d701259d Mon Sep 17 00:00:00 2001 From: Andrii Kulian Date: Thu, 17 Oct 2019 16:26:17 -0700 Subject: Merge sleeping activities with visibility updates Previously we were using a separate SLEEP message to communicate with the client. The sleeping implementation on the client though simply transitioned it between STARTED and STOPPED states. This CL relies on visibility updates to communicate the sleeping state. The "sleeping" status field is still used in the server-side to record when device started going to sleep, and prevents any activity that was launched before to influence the power state of the device. Bug: 137329632 Test: AM/WM CTS and unit tests Change-Id: Idd7f5bf6730d3372168d862ef713a44f700430f1 --- config/boot-image-profile.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'config') diff --git a/config/boot-image-profile.txt b/config/boot-image-profile.txt index 4aaf72728cbf..e649c303541a 100644 --- a/config/boot-image-profile.txt +++ b/config/boot-image-profile.txt @@ -1515,7 +1515,6 @@ HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activityDestroyed(Landroid/os/ HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activityIdle(Landroid/os/IBinder;Landroid/content/res/Configuration;Z)V HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activityPaused(Landroid/os/IBinder;)V HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activityResumed(Landroid/os/IBinder;)V -HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activitySlept(Landroid/os/IBinder;)V HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activityStopped(Landroid/os/IBinder;Landroid/os/Bundle;Landroid/os/PersistableBundle;Ljava/lang/CharSequence;)V HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->activityTopResumedStateLost()V HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->finishActivity(Landroid/os/IBinder;ILandroid/content/Intent;I)Z -- cgit v1.2.3