android-components / mozilla.components.feature.pwa / WebAppShortcutManager / updateShortcuts

updateShortcuts

suspend fun updateShortcuts(context: <ERROR CLASS>, manifests: List<WebAppManifest>): Unit (source)

Update existing PWA shortcuts with the latest info from web app manifests.

Devices before 7.1 do not allow shortcuts to be dynamically updated, so this method will do nothing.