Loading services/core/java/com/android/server/pm/ShortcutService.java +3 −3 Original line number Diff line number Diff line Loading @@ -3115,15 +3115,15 @@ public class ShortcutService extends IShortcutService.Stub { } if (doCache) { if (si.isDynamic() && si.isLongLived()) { if (si.isLongLived()) { si.addFlags(ShortcutInfo.FLAG_CACHED); if (changedShortcuts == null) { changedShortcuts = new ArrayList<>(1); } changedShortcuts.add(si); } else { Log.w(TAG, "Only dynamic long lived shortcuts can get cached. Ignoring" + "shortcut " + si.getId()); Log.w(TAG, "Only long lived shortcuts can get cached. Ignoring id " + si.getId()); } } else { ShortcutInfo removed = null; Loading Loading
services/core/java/com/android/server/pm/ShortcutService.java +3 −3 Original line number Diff line number Diff line Loading @@ -3115,15 +3115,15 @@ public class ShortcutService extends IShortcutService.Stub { } if (doCache) { if (si.isDynamic() && si.isLongLived()) { if (si.isLongLived()) { si.addFlags(ShortcutInfo.FLAG_CACHED); if (changedShortcuts == null) { changedShortcuts = new ArrayList<>(1); } changedShortcuts.add(si); } else { Log.w(TAG, "Only dynamic long lived shortcuts can get cached. Ignoring" + "shortcut " + si.getId()); Log.w(TAG, "Only long lived shortcuts can get cached. Ignoring id " + si.getId()); } } else { ShortcutInfo removed = null; Loading