Merge "Allow ShortcutPackage#findAll to return cached shortcuts."

This commit is contained in:
TreeHugger Robot
2020-12-12 02:30:15 +00:00
committed by Android (Google) Code Review

View File

@@ -737,7 +737,7 @@ class ShortcutPackage extends ShortcutPackageItem {
|| ((pinnedByCallerSet != null) && pinnedByCallerSet.contains(si.getId()));
if (!getPinnedByAnyLauncher) {
if (si.isFloating()) {
if (si.isFloating() && !si.isCached()) {
if (!isPinnedByCaller) {
continue;
}