Searched refs:restoreBlockReason (Results 1 – 3 of 3) sorted by relevance
125 int restoreBlockReason; in attemptToRestoreIfNeededAndSave() local131 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
116 protected void onRestored(int restoreBlockReason) { in onRestored() argument121 if (restoreBlockReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED) { in onRestored()
247 protected void onRestored(int restoreBlockReason) { in onRestored() argument254 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()