Loading services/core/java/com/android/server/pm/ShortcutPackage.java +9 −5 Original line number Diff line number Diff line Loading @@ -1798,11 +1798,15 @@ class ShortcutPackage extends ShortcutPackageItem { continue; case TAG_SHORTCUT: try { final ShortcutInfo si = parseShortcut(parser, packageName, shortcutUser.getUserId(), fromBackup); // Don't use addShortcut(), we don't need to save the icon. ret.mShortcuts.put(si.getId(), si); } catch (Exception e) { // b/246540168 malformed shortcuts should be ignored Slog.e(TAG, "Failed parsing shortcut.", e); } continue; case TAG_SHARE_TARGET: ret.mShareTargets.add(ShareTargetInfo.loadFromXml(parser)); Loading Loading
services/core/java/com/android/server/pm/ShortcutPackage.java +9 −5 Original line number Diff line number Diff line Loading @@ -1798,11 +1798,15 @@ class ShortcutPackage extends ShortcutPackageItem { continue; case TAG_SHORTCUT: try { final ShortcutInfo si = parseShortcut(parser, packageName, shortcutUser.getUserId(), fromBackup); // Don't use addShortcut(), we don't need to save the icon. ret.mShortcuts.put(si.getId(), si); } catch (Exception e) { // b/246540168 malformed shortcuts should be ignored Slog.e(TAG, "Failed parsing shortcut.", e); } continue; case TAG_SHARE_TARGET: ret.mShareTargets.add(ShareTargetInfo.loadFromXml(parser)); Loading