Added constructor to ShortcutKey.
Change-Id: Ic7769af89aa118802e666b92c662f5e1741441ab
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user