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

Commit 91324818 authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

docs: Request coarse location with b.g. location

When requesting background location access (for "all-the-time" access
to device location), it's possible to request *either* coarse or fine
location access along with background location access. Updated the
docs to mention this important point.

Test: make ds-docs -j32

Bug: 133248358
Change-Id: Ia10e493ecb33b6e971b53d3ff348a495417d9b38
parent a22e3137
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -904,9 +904,9 @@
        android:backgroundPermission="android.permission.ACCESS_BACKGROUND_LOCATION"
        android:protectionLevel="dangerous|instant" />

    <!-- Allows an app to access location in the background.  If you
         are requesting this, you should also request {@link #ACCESS_FINE_LOCATION}.
         Requesting this by itself is not sufficient to give you
    <!-- Allows an app to access location in the background. If you're requesting this permission,
         you must also request either {@link #ACCESS_COARSE_LOCATION} or
         {@link #ACCESS_FINE_LOCATION}. Requesting this permission by itself doesn't give you
         location access.
         <p>Protection level: dangerous
    -->