刪除run2 修復拍照活動偵測錯誤

This commit is contained in:
Sahik committed 2026-04-06 04:20:02 +08:00
1 parent 0b5925520e
commit cc23f0888c
7 files changed
+42 -77

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ let config = {
// 浮窗權限檢查
function checkFloatyPermission() {
if (!Settings.canDrawOverlays(context)) {
toast("perm_floaty");
toast(T('perm_floaty'));
var intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION);
intent.setData(Uri.parse("package:" + context.getPackageName()));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
@@ -60,7 +60,7 @@ function checkFloatyPermission() {
// 無障礙檢查
function checkAccessibility() {
if (!auto.service) {
toast("perm_accessibility");
toast(T('perm_accessibility'));
app.startActivity({
action: Settings.ACTION_ACCESSIBILITY_SETTINGS
});