Loading services/core/java/com/android/server/pm/ShortcutPackage.java +5 −1 Original line number Diff line number Diff line Loading @@ -894,8 +894,12 @@ class ShortcutPackage extends ShortcutPackageItem { // Get the list of all dynamic shortcuts in this package. final ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); // Pass callingLauncher to ensure pinned flag marked by system ui, e.g. ShareSheet, are // included in the result findAll(shortcuts, ShortcutInfo::isNonManifestVisible, ShortcutInfo.CLONE_REMOVE_FOR_APP_PREDICTION); ShortcutInfo.CLONE_REMOVE_FOR_APP_PREDICTION, mShortcutUser.mService.mContext.getPackageName(), 0, /*getPinnedByAnyLauncher=*/ false); final List<ShortcutManager.ShareShortcutInfo> result = new ArrayList<>(); for (int i = 0; i < shortcuts.size(); i++) { Loading Loading
services/core/java/com/android/server/pm/ShortcutPackage.java +5 −1 Original line number Diff line number Diff line Loading @@ -894,8 +894,12 @@ class ShortcutPackage extends ShortcutPackageItem { // Get the list of all dynamic shortcuts in this package. final ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); // Pass callingLauncher to ensure pinned flag marked by system ui, e.g. ShareSheet, are // included in the result findAll(shortcuts, ShortcutInfo::isNonManifestVisible, ShortcutInfo.CLONE_REMOVE_FOR_APP_PREDICTION); ShortcutInfo.CLONE_REMOVE_FOR_APP_PREDICTION, mShortcutUser.mService.mContext.getPackageName(), 0, /*getPinnedByAnyLauncher=*/ false); final List<ShortcutManager.ShareShortcutInfo> result = new ArrayList<>(); for (int i = 0; i < shortcuts.size(); i++) { Loading