Merge "docs: Remove error in requestPermissions doc" into rvc-dev am: 05efe90a8d am: 49421dc19c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13122154

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I616c21458dde3c5c1ba87fc116604cade5a9a133
This commit is contained in:
Kevin Hufnagle
2021-01-11 20:20:39 +00:00
committed by Automerger Merge Worker

View File

@@ -5151,12 +5151,6 @@ public class Activity extends ContextThemeWrapper
* #checkSelfPermission(String)}.
* </p>
* <p>
* Calling this API for permissions already granted to your app would show UI
* to the user to decide whether the app can still hold these permissions. This
* can be useful if the way your app uses data guarded by the permissions
* changes significantly.
* </p>
* <p>
* You cannot request a permission if your activity sets {@link
* android.R.styleable#AndroidManifestActivity_noHistory noHistory} to
* <code>true</code> because in this case the activity would not receive