summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/shortcuts/ShortcutKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/shortcuts/ShortcutKey.java')
-rw-r--r--src/com/android/launcher3/shortcuts/ShortcutKey.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher3/shortcuts/ShortcutKey.java b/src/com/android/launcher3/shortcuts/ShortcutKey.java
index a219c5494..8f7266632 100644
--- a/src/com/android/launcher3/shortcuts/ShortcutKey.java
+++ b/src/com/android/launcher3/shortcuts/ShortcutKey.java
@@ -2,9 +2,9 @@ package com.android.launcher3.shortcuts;
import android.content.ComponentName;
import android.content.Intent;
+import android.os.UserHandle;
import com.android.launcher3.ShortcutInfo;
-import com.android.launcher3.compat.UserHandleCompat;
import com.android.launcher3.util.ComponentKey;
/**
@@ -12,7 +12,7 @@ import com.android.launcher3.util.ComponentKey;
*/
public class ShortcutKey extends ComponentKey {
- public ShortcutKey(String packageName, UserHandleCompat user, String id) {
+ public ShortcutKey(String packageName, UserHandle user, String id) {
// Use the id as the class name.
super(new ComponentName(packageName, id), user);
}
@@ -26,7 +26,7 @@ public class ShortcutKey extends ComponentKey {
shortcutInfo.getId());
}
- public static ShortcutKey fromIntent(Intent intent, UserHandleCompat user) {
+ public static ShortcutKey fromIntent(Intent intent, UserHandle user) {
String shortcutId = intent.getStringExtra(
ShortcutInfoCompat.EXTRA_SHORTCUT_ID);
return new ShortcutKey(intent.getPackage(), user, shortcutId);