summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrew Solovay <asolovay@google.com> 2023-06-20 21:27:00 +0000
committer Andrew Solovay <asolovay@google.com> 2023-06-21 19:02:35 +0000
commit1d3867d342b7aa14009ac8a3fc0503533fc0585d (patch)
treeeca4a2a0bcb67e2cf954cda2cb44f56af85539b9
parent057c1e7c20f87deab3213ca4c6cd148d37963acf (diff)
docs: Fixing typos in Context refdoc
Fixing two issues--a typo ("while-use-use" should be "while-in-use"), and an open <em> tag that's never closed. NO_TEST , fixes a doc bug (no code edits). Staged the fixed doc to: * go/dac-stage/reference/android/content/Context Change-Id: Id281128210996bc79cbac73a1304b774ad09cf2f TEST: [go/abtd docs build + stage] BUG: 288151309 BUG: 250078085
-rw-r--r--core/java/android/content/Context.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index c221d724c5a2..06635eedeb9a 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -481,7 +481,7 @@ public abstract class Context {
* If binding from a top app and its target SDK version is at or above
* {@link android.os.Build.VERSION_CODES#R}, the app needs to
* explicitly use BIND_INCLUDE_CAPABILITIES flag to pass all capabilities to the service so the
- * other app can have while-use-use access such as location, camera, microphone from background.
+ * other app can have while-in-use access such as location, camera, microphone from background.
* If binding from a top app and its target SDK version is below
* {@link android.os.Build.VERSION_CODES#R}, BIND_INCLUDE_CAPABILITIES is implicit.
*/
@@ -678,7 +678,7 @@ public abstract class Context {
* </p>
*
* <em>This flag is NOT compatible with {@link BindServiceFlags}. If you need to use
- * {@link BindServiceFlags}, you must use {@link #BIND_EXTERNAL_SERVICE_LONG} instead.
+ * {@link BindServiceFlags}, you must use {@link #BIND_EXTERNAL_SERVICE_LONG} instead.</em>
*/
public static final int BIND_EXTERNAL_SERVICE = 0x80000000;