summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-19 10:52:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-19 10:52:30 +0000
commit289708b659b34896920bd96820f6d706ac84cb0f (patch)
tree4b5c13da3115f31d160c0bbc3efef0dee6497415
parent7bcc054c20679745201d70c61ff55311b3fb5f7f (diff)
parentea2cf3d4ee4e76f1153f3e7aec9c56e612ea4f03 (diff)
downloadcts-289708b659b34896920bd96820f6d706ac84cb0f.tar.gz
Merge "[CTS] fix MultiDisplayImeTests" into main
-rw-r--r--tests/framework/base/windowmanager/src/android/server/wm/display/MultiDisplayImeTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/framework/base/windowmanager/src/android/server/wm/display/MultiDisplayImeTests.java b/tests/framework/base/windowmanager/src/android/server/wm/display/MultiDisplayImeTests.java
index 40fac0a7779..9ed6c3e1efa 100644
--- a/tests/framework/base/windowmanager/src/android/server/wm/display/MultiDisplayImeTests.java
+++ b/tests/framework/base/windowmanager/src/android/server/wm/display/MultiDisplayImeTests.java
@@ -486,7 +486,7 @@ public class MultiDisplayImeTests extends MultiDisplayTestBase {
ImeTestActivity2.class, secondDisplay.mId);
// Make firstDisplay the top focus display.
- tapOnDisplayCenter(firstDisplay.mId);
+ touchAndCancelOnDisplayCenterSync(firstDisplay.mId);
mWmState.waitForWithAmState(state -> state.getFocusedDisplayId() == firstDisplay.mId,
"First display must be top focused.");
@@ -528,7 +528,7 @@ public class MultiDisplayImeTests extends MultiDisplayTestBase {
configChangeVerifyStream = clearOnConfigurationChangedFromStream(stream);
// Tap secondDisplay to change it to the top focused display.
- tapOnDisplayCenter(secondDisplay.mId);
+ touchAndCancelOnDisplayCenterSync(secondDisplay.mId);
// Move ImeTestActivity from firstDisplay to secondDisplay.
getLaunchActivityBuilder()