summaryrefslogtreecommitdiff
path: root/apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java')
-rw-r--r--apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java b/apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java
index 98b5938e4026..42fb24f570d2 100644
--- a/apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java
+++ b/apct-tests/perftests/windowmanager/src/android/wm/RecentsAnimationPerfTest.java
@@ -25,7 +25,6 @@ import static org.hamcrest.core.Is.is;
import android.app.ActivityManager;
import android.app.ActivityTaskManager;
-import android.window.TaskSnapshot;
import android.app.IActivityTaskManager;
import android.content.ComponentName;
import android.content.Context;
@@ -41,6 +40,7 @@ import android.util.Pair;
import android.view.IRecentsAnimationController;
import android.view.IRecentsAnimationRunner;
import android.view.RemoteAnimationTarget;
+import android.window.TaskSnapshot;
import androidx.test.filters.LargeTest;
import androidx.test.runner.lifecycle.Stage;
@@ -210,13 +210,14 @@ public class RecentsAnimationPerfTest extends WindowManagerPerfTestBase
}
@Override
- public void onAnimationCanceled(TaskSnapshot taskSnapshot) throws RemoteException {
+ public void onAnimationCanceled(int[] taskIds, TaskSnapshot[] taskSnapshots)
+ throws RemoteException {
Assume.assumeNoException(
new AssertionError("onAnimationCanceled should not be called"));
}
@Override
- public void onTaskAppeared(RemoteAnimationTarget app) throws RemoteException {
+ public void onTasksAppeared(RemoteAnimationTarget[] app) throws RemoteException {
/* no-op */
}
};