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

Commit 449b1fa9 authored by Andrew Solovay's avatar Andrew Solovay
Browse files

docs: Typo fix (android.permissions -> android.permission)

A couple of code snippets in a doc comment incorrectly referred to the "android.permissions.FOREGROUND_SERVICE_SPECIAL_USE" permission name; this should actually be "android.permission.FOREGROUND_SERVICE_SPECIAL_USE" (permission, not permissions), per:

https://developer.android.com/reference/android/Manifest.permission#FOREGROUND_SERVICE_SPECIAL_USE

Docs-only change, no change to actual source code.

Bug: 299736596
Change-Id: I630f13c19bfb2418ff4feb1c20ac4540ba0e8ef6
Test: [go/abtd docs build]
parent 39462675
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -486,7 +486,7 @@ public class ServiceInfo extends ComponentInfo
     * Here is an example:
     * <pre>
     *  &lt;uses-permission
     *      android:name="android.permissions.FOREGROUND_SERVICE_SPECIAL_USE"
     *      android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"
     *  /&gt;
     *  &lt;service
     *      android:name=".MySpecialForegroundService"
@@ -506,7 +506,7 @@ public class ServiceInfo extends ComponentInfo
     * in both platforms.
     * <pre>
     *  &lt;uses-permission
     *      android:name="android.permissions.FOREGROUND_SERVICE_SPECIAL_USE"
     *      android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"
     *      android:maxSdkVersion="last_sdk_version_without_type_foo"
     *  /&gt;
     *  &lt;service