summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/shortcuts
diff options
context:
space:
mode:
authorGeorge Hodulik <georgehodulik@google.com>2017-12-14 10:02:11 -0800
committerGeorge Hodulik <georgehodulik@google.com>2017-12-14 10:02:11 -0800
commitbdbd375bb408ef8776434fe740a85cc37c86f6d4 (patch)
treea066dd37a35a49f36bd01a3e599c534bba6e817e /src/com/android/launcher3/shortcuts
parente7794795a06319b3cdf4ecf44f3d2eabee1d9310 (diff)
downloadandroid_packages_apps_Trebuchet-bdbd375bb408ef8776434fe740a85cc37c86f6d4.tar.gz
android_packages_apps_Trebuchet-bdbd375bb408ef8776434fe740a85cc37c86f6d4.tar.bz2
android_packages_apps_Trebuchet-bdbd375bb408ef8776434fe740a85cc37c86f6d4.zip
Added constructor to ShortcutKey.
Change-Id: Ic7769af89aa118802e666b92c662f5e1741441ab
Diffstat (limited to 'src/com/android/launcher3/shortcuts')
-rw-r--r--src/com/android/launcher3/shortcuts/ShortcutKey.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/shortcuts/ShortcutKey.java b/src/com/android/launcher3/shortcuts/ShortcutKey.java
index e86bfb2b2..704d82fbc 100644
--- a/src/com/android/launcher3/shortcuts/ShortcutKey.java
+++ b/src/com/android/launcher3/shortcuts/ShortcutKey.java
@@ -1,6 +1,7 @@
package com.android.launcher3.shortcuts;
import android.content.ComponentName;
+import android.content.Context;
import android.content.Intent;
import android.os.UserHandle;
@@ -17,6 +18,10 @@ public class ShortcutKey extends ComponentKey {
super(new ComponentName(packageName, id), user);
}
+ public ShortcutKey(Context context, String componentKeyStr) {
+ super(context, componentKeyStr);
+ }
+
public String getId() {
return componentName.getClassName();
}