Home
last modified time | relevance | path

Searched refs:restoreBlockReason (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java125 int restoreBlockReason; in attemptToRestoreIfNeededAndSave() local
131 restoreBlockReason = ShortcutInfo.DISABLED_REASON_SIGNATURE_MISMATCH; in attemptToRestoreIfNeededAndSave()
135 restoreBlockReason = mPackageInfo.canRestoreTo(s, pi, canRestoreAnyVersion()); in attemptToRestoreIfNeededAndSave()
141 ShortcutInfo.getDisabledReasonDebugString(restoreBlockReason), in attemptToRestoreIfNeededAndSave()
145 onRestored(restoreBlockReason); in attemptToRestoreIfNeededAndSave()
155 protected abstract void onRestored(int restoreBlockReason); in onRestored() argument
DShortcutLauncher.java116 protected void onRestored(int restoreBlockReason) { in onRestored() argument
121 if (restoreBlockReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED) { in onRestored()
DShortcutPackage.java247 protected void onRestored(int restoreBlockReason) { in onRestored() argument
254 AppSearchShortcutInfo.KEY_DISABLED_REASON, restoreBlockReason); in onRestored()
256 if (restoreBlockReason == ShortcutInfo.DISABLED_REASON_NOT_DISABLED in onRestored()
258 && si.getDisabledReason() == restoreBlockReason) { in onRestored()
263 si.setDisabledReason(restoreBlockReason); in onRestored()
264 if (restoreBlockReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED) { in onRestored()