mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-13 22:44:11 +00:00
add kActionAccessibilitySettings to manage Input Permission
This commit is contained in:
1 parent
48100c9e91
commit
73bc963311
4 files changed
+12
-9
No files matched your search
@@ -926,6 +926,11 @@ class AndroidPermissionManager {
|
||||
return gFFI.invokeMethod("check_permission", type);
|
||||
}
|
||||
|
||||
// startActivity goto Android Setting's page to request permission manually by user
|
||||
static void startAction(String action) {
|
||||
gFFI.invokeMethod(AndroidChannel.kStartAction, action);
|
||||
}
|
||||
|
||||
static Future<bool> request(String type) {
|
||||
if (isDesktop) {
|
||||
return Future.value(true);
|
||||
|
||||
Reference in new issue
Block a user