summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java')
-rw-r--r--tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java b/tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java
index abe6b9591..4a80735bd 100644
--- a/tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java
+++ b/tests/src/com/android/launcher3/ui/AllAppsAppLaunchTest.java
@@ -1,5 +1,6 @@
package com.android.launcher3.ui;
+import android.os.Process;
import android.support.test.uiautomator.By;
import android.support.test.uiautomator.UiObject2;
import android.support.test.uiautomator.Until;
@@ -7,7 +8,6 @@ import android.test.suitebuilder.annotation.LargeTest;
import com.android.launcher3.compat.LauncherActivityInfoCompat;
import com.android.launcher3.compat.LauncherAppsCompat;
-import com.android.launcher3.compat.UserHandleCompat;
import com.android.launcher3.util.Condition;
import com.android.launcher3.util.Wait;
@@ -24,7 +24,7 @@ public class AllAppsAppLaunchTest extends LauncherInstrumentationTestCase {
super.setUp();
mSettingsApp = LauncherAppsCompat.getInstance(mTargetContext)
- .getActivityList("com.android.settings", UserHandleCompat.myUserHandle()).get(0);
+ .getActivityList("com.android.settings", Process.myUserHandle()).get(0);
}
public void testAppLauncher_portrait() throws Exception {