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

Commit 9e305607 authored by George Hodulik's avatar George Hodulik Committed by Android (Google) Code Review
Browse files

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

parents e15e2a82 bdbd375b
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();
    }