How to add, update, and remove pinned shortcuts as a Device Owner without user interaction?
I am developing an MDM (Mobile Device Management) application and need to manage pinned shortcuts programmatically as a Device Owner.
Currently, I can add, update, and remove pinned shortcuts only with user interaction using ShortcutManager. However, I need to perform these operations silently (without user confirmation) since my app runs as a Device Owner.
I checked the Device Policy API and Android Management API, but I couldn’t find any specific policy or method for managing pinned shortcuts as a Device Owner.
I attempted to use ShortcutManager#requestPinShortcut(), but it still requires user confirmation.
I reviewed the Android Enterprise Documentation but found no mention of pinned shortcuts management for Device Owners.
Is there any hidden API or specific Device Policy setting that allows a Device Owner to manage pinned shortcuts without user interaction? If not, is there any alternative approach to achieving this functionality programmatically?
Thanks