Merge "fix the issue now playing shortcut cannot be dragged" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d222f9ea6
@@ -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(),
|
||||
activity, info);
|
||||
(info.getTargetComponent() == null) ? null : WellbeingModel.get(activity)
|
||||
.getShortcutForApp(
|
||||
info.getTargetComponent().getPackageName(), info.user.getIdentifier(),
|
||||
activity, info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user