Bugfix and new APIs

Fix permitted accessibility services and permitted ime, close #165
New APIs, close #166
Optimize shortcuts creation, add ShortcutUtils
This commit is contained in:
BinTianqi
2025-09-25 23:01:02 +08:00
parent 289afb63ff
commit 5928dbb657
10 changed files with 158 additions and 123 deletions

View File

@@ -93,6 +93,8 @@ Samsung restricts Android's multiple users feature. There is currently no soluti
## API
OwnDroid provides an API based on Intent and BroadcastReceiver.
| ID | Extras | Minimum Android version |
|--------------------------|------------------------|:-----------------------:|
| `HIDE` | `package` | |
@@ -104,6 +106,10 @@ Samsung restricts Android's multiple users feature. There is currently no soluti
| `SET_PERMISSION_DEFAULT` | `package` `permission` | 6 |
| `SET_PERMISSION_GRANTED` | `package` `permission` | 6 |
| `SET_PERMISSION_DENIED` | `package` `permission` | 6 |
| `SET_CAMERA_DISABLED` | | |
| `SET_CAMERA_ENABLED` | | |
| `SET_USB_DISABLED` | | 12 |
| `SET_USB_ENABLED` | | 12 |
| `LOCK` | | |
| `REBOOT` | | 7 |