diff options
| author | 2017-12-01 21:16:57 +0000 | |
|---|---|---|
| committer | 2017-12-01 21:16:57 +0000 | |
| commit | 4f7413ea39e52fba994d41007f3f02170f1edfb2 (patch) | |
| tree | 809bfaac39be98d76b0f2c0d1ce779da8926db01 | |
| parent | f27dd76fa9f78eb116d3b425e9896d458aaf96fc (diff) | |
| parent | 22d290b289c0748e41632da1fb8d0ce39fc0f526 (diff) | |
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev am: a96e533840 am: 87b5b0aa1a am: 9d3563ad78
am: 22d290b289
Change-Id: I994b9e0f7ea2b585c4f8f03231ed4d4c92e7e18e
| -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 e9e726b98ae7..5906b2762718 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2058,6 +2058,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" |