diff options
| -rw-r--r-- | core/res/AndroidManifest.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index b2a736304ed0..0955f42acdfd 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1965,6 +1965,11 @@ <eat-comment /> <!-- Allows an application to install a shortcut in Launcher. + <p>In Android O (API level 26) and higher, the <code>INSTALL_SHORTCUT</code> broadcast no + longer has any effect on your app because it's a private, implicit + broadcast. Instead, you should create an app shortcut by using the + {@link android.content.pm.ShortcutManager#requestPinShortcut requestPinShortcut()} + method from the {@link android.content.pm.ShortcutManager} class. <p>Protection level: normal --> <permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |