Merge "docs: Remove error in requestPermissions doc" into rvc-dev am: 05efe90a8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13122154
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3325b526d894701d199f2669131adb46dc1fca42
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index e123af7..c976a9b 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -5183,12 +5183,6 @@
* #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