Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdbd375b authored by George Hodulik's avatar George Hodulik
Browse files

Added constructor to ShortcutKey.

Change-Id: Ic7769af89aa118802e666b92c662f5e1741441ab
parent e7794795
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
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();
    }