Searched refs:oldShortcut (Results 1 – 1 of 1) sorted by relevance
289 final ShortcutInfo oldShortcut = mShortcuts.get(newShortcut.getId()); in addOrReplaceDynamicShortcut() local293 if (oldShortcut == null) { in addOrReplaceDynamicShortcut()298 oldShortcut.ensureUpdatableWith(newShortcut, /*isUpdating=*/ false); in addOrReplaceDynamicShortcut()300 wasPinned = oldShortcut.isPinned(); in addOrReplaceDynamicShortcut()412 final ShortcutInfo oldShortcut = mShortcuts.get(shortcutId); in deleteOrDisableWithId() local414 if (oldShortcut == null || !oldShortcut.isEnabled() in deleteOrDisableWithId()415 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()419 ensureNotImmutable(oldShortcut, /*ignoreInvisible=*/ true); in deleteOrDisableWithId()421 if (oldShortcut.isPinned()) { in deleteOrDisableWithId()423 oldShortcut.setRank(0); in deleteOrDisableWithId()[all …]