Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f7413ea authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by android-build-merger
Browse files

Merge "Merge from oc-preview-docs-release: docs: Added note that...

Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev am: a96e5338 am: 87b5b0aa am: 9d3563ad
am: 22d290b2

Change-Id: I994b9e0f7ea2b585c4f8f03231ed4d4c92e7e18e
parents f27dd76f 22d290b2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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"