feat(wallpaper): extend commands with gallery, delete image, and crop
The plugin now exposes gallery retrieval, image deletion and image crop across Android, desktop and mobile. The Rust core and Android bridge are wired to handle these commands, updating state as needed. - Add gallery, delete_image, and set_image_crop commands - across Android, desktop and mobile. - Update permissions, defaults, and schema to enable new commands.
This commit is contained in:
@@ -5,7 +5,9 @@ Allow the LockScreenWallpaper app to manage its wallpaper collection
|
||||
#### This default permission set includes the following:
|
||||
|
||||
- `allow-get-state`
|
||||
- `allow-get-gallery`
|
||||
- `allow-select-images`
|
||||
- `allow-delete-image`
|
||||
- `allow-set-setting`
|
||||
- `allow-next-wallpaper`
|
||||
|
||||
@@ -18,6 +20,58 @@ Allow the LockScreenWallpaper app to manage its wallpaper collection
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:allow-delete-image`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the delete_image command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:deny-delete-image`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the delete_image command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:allow-get-gallery`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the get_gallery command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`wallpaper:deny-get-gallery`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the get_gallery command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user