Language

ShortcutDisabledReason Enum

Definition

public enum ShortcutDisabledReason
type ShortcutDisabledReason = 
Inheritance
ShortcutDisabledReason

Fields

Name Value Description
NotDisabled 0

Shortcut is not disabled.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_NOT_DISABLED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ByApp 1

Shortcut has been disabled by the publisher app with the ShortcutManager.disableShortcuts(List) API.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_BY_APP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AppChanged 2

Shortcut has been disabled due to changes to the publisher app. (e.g. a manifest shortcut no longer exists.)

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_APP_CHANGED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Unknown 3

Shortcut is disabled for an unknown reason.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

VersionLower 100

Shortcut has been restored from the previous device, but the publisher app on the current device is of a lower version. The shortcut will not be usable until the app is upgraded to the same version or higher.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_VERSION_LOWER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

BackupNotSupported 101

Shortcut has not been restored because the publisher app does not support backup and restore.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_BACKUP_NOT_SUPPORTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SignatureMismatch 102

Shortcut has not been restored because the publisher app's signature has changed.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_SIGNATURE_MISMATCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

OtherRestoreIssue 103

Shortcut has not been restored for unknown reason.

Android reference for android.content.pm.ShortcutInfo.DISABLED_REASON_OTHER_RESTORE_ISSUE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to