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

Commit 1d3867d3 authored by Andrew Solovay's avatar Andrew Solovay
Browse files

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
parent 057c1e7c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;