Merge "Added constructor to ShortcutKey." into ub-launcher3-master

This commit is contained in:
George Hodulik
2017-12-19 21:06:25 +00:00
committed by Android (Google) Code Review
@@ -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();
}