disable

fun disable(vararg ids: String, message: CharSequence? = null)

Disables the shortcuts with the given ids. A pinned shortcut stays visible but greyed out; launching it shows message when provided.