Merge "Fix typos in permissions.md" into rvc-dev am: fa658e0206
Change-Id: If22bdea452df6ca54c8f43b022f3658419bf3711
This commit is contained in:
committed by
Automerger Merge Worker
commit
41677ef61d
@@ -728,7 +728,7 @@ platforms manifest using the `appop` protection level
|
|||||||
Almost always the protection level is app-op | something else, like
|
Almost always the protection level is app-op | something else, like
|
||||||
[signature](#signature-permissions) (in the case above) or [privileged](#privileged-permissions).
|
[signature](#signature-permissions) (in the case above) or [privileged](#privileged-permissions).
|
||||||
|
|
||||||
#### Checking a app-op permission
|
#### Checking an app-op permission
|
||||||
|
|
||||||
The `PermissionChecker` utility can check app-op permissions with the [same syntax as runtime
|
The `PermissionChecker` utility can check app-op permissions with the [same syntax as runtime
|
||||||
permissions](#checking-a-runtime-permission).
|
permissions](#checking-a-runtime-permission).
|
||||||
@@ -764,7 +764,7 @@ class PermissionChecker {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Granting a app-op permission
|
#### Granting an app-op permission
|
||||||
|
|
||||||
The permission's grant state is only considered if the app-op's mode is `MODE_DEFAULT`. This
|
The permission's grant state is only considered if the app-op's mode is `MODE_DEFAULT`. This
|
||||||
allows to have default grants while still being overridden by the app-op.
|
allows to have default grants while still being overridden by the app-op.
|
||||||
|
|||||||
Reference in New Issue
Block a user