isImmutable
Return if a shortcut is immutable, in which case it cannot be modified with any of ShortcutManagerCompat APIs.
All static shortcuts are immutable. When a static shortcut is pinned and is then disabled because it doesn't appear in AndroidManifest.xml for a newer version of the app, isDeclaredInManifest returns false
, but the shortcut is still immutable.
All shortcuts originally published via the ShortcutManager APIs are all mutable.