Searched refs:oldShortcut (Results 1 – 1 of 1) sorted by relevance
270 final ShortcutInfo oldShortcut = mShortcuts.get(newShortcut.getId()); in addOrReplaceDynamicShortcut() local274 if (oldShortcut == null) { in addOrReplaceDynamicShortcut()279 oldShortcut.ensureUpdatableWith(newShortcut, /*isUpdating=*/ false); in addOrReplaceDynamicShortcut()281 wasPinned = oldShortcut.isPinned(); in addOrReplaceDynamicShortcut()393 final ShortcutInfo oldShortcut = mShortcuts.get(shortcutId); in deleteOrDisableWithId() local395 if (oldShortcut == null || !oldShortcut.isEnabled() in deleteOrDisableWithId()396 && (ignoreInvisible && !oldShortcut.isVisibleToPublisher())) { in deleteOrDisableWithId()400 ensureNotImmutable(oldShortcut, /*ignoreInvisible=*/ true); in deleteOrDisableWithId()402 if (oldShortcut.isPinned()) { in deleteOrDisableWithId()404 oldShortcut.setRank(0); in deleteOrDisableWithId()[all …]