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

Commit c3c5292a authored by Pinyao Ting's avatar Pinyao Ting
Browse files

fix the issue now playing shortcut cannot be dragged

Bug: 143904998
Test: put now playing shortcut in workspace, verify dragging it doesn't
cause a crash

Change-Id: Ic531b43d61d55ec14e9f420ff799a36b8d785e2a
parent 43968167
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -335,8 +335,8 @@ public final class WellbeingModel {
     * Shortcut factory for generating wellbeing action
     */
    public static final SystemShortcut.Factory SHORTCUT_FACTORY = (activity, info) ->
            WellbeingModel.get(activity).getShortcutForApp(
                    info.getTargetComponent().getPackageName(),
                    info.user.getIdentifier(),
            (info.getTargetComponent() == null) ? null : WellbeingModel.get(activity)
                    .getShortcutForApp(
                            info.getTargetComponent().getPackageName(), info.user.getIdentifier(),
                            activity, info);
}