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

Commit 22d290b2 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

Change-Id: I3355b274bf2fad2190cd21f16c01e218a17c8b56
parents 925e428f 9d3563ad
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2042,6 +2042,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"