From 1d3867d342b7aa14009ac8a3fc0503533fc0585d Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Tue, 20 Jun 2023 21:27:00 +0000 Subject: [PATCH] docs: Fixing typos in Context refdoc Fixing two issues--a typo ("while-use-use" should be "while-in-use"), and an open 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 --- core/java/android/content/Context.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index c221d724c5a2a..06635eedeb9ab 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 { *

* * 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. */ public static final int BIND_EXTERNAL_SERVICE = 0x80000000;