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

Commit 2ef56760 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Automerger Merge Worker
Browse files

Merge "Fix typos in permissions.md" into rvc-dev am: fa658e02 am: 41677ef6 am: 6d828fdf

Change-Id: Idd4255ede8af40b1154725e6256d8a2c14313abe
parents 36e641fc 6d828fdf
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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.