mirror of
https://github.com/Benjamin-Wiegand/a-tv-remote-receiver.git
synced 2026-09-12 18:42:11 -07:00
get correct permission request spec for ime
This commit is contained in:
+2
-2
@@ -104,7 +104,7 @@ public class ControlSourceConnectionManager {
|
||||
showRationale(AccessibilityInputService.getPermissionRequestSpec(context));
|
||||
throw new ControlNotInitializedException(context.getString(R.string.control_source_not_loaded_accessibility));
|
||||
} else {
|
||||
showRationale(IMEInputService.getEnableRequestSpec(context));
|
||||
showRationale(IMEInputService.getPermissionRequestSpec(context));
|
||||
throw new ControlNotInitializedException(getImeServiceExceptionText());
|
||||
}
|
||||
},
|
||||
@@ -114,7 +114,7 @@ public class ControlSourceConnectionManager {
|
||||
if (notificationListenerMediaInput != null) return notificationListenerMediaInput;
|
||||
}
|
||||
|
||||
showRationale(IMEInputService.getEnableRequestSpec(context));
|
||||
showRationale(IMEInputService.getPermissionRequestSpec(context));
|
||||
throw new ControlNotInitializedException(getImeServiceExceptionText());
|
||||
},
|
||||
() -> {
|
||||
|
||||
Reference in New Issue
Block a user