From 927857921775aaf627a871fa94a4a383b0bf4ecd Mon Sep 17 00:00:00 2001 From: hmcdat Date: Tue, 14 Jul 2026 16:06:52 +0700 Subject: [PATCH] Sync wireless debugging toggle Ensure the USB Debugging action writes adb_wifi_enabled back to 0 when disabled so USB and wireless debugging stay in sync. --- app/src/main/assets/actions.json | 3 +++ config/actions.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/src/main/assets/actions.json b/app/src/main/assets/actions.json index 1168978..9044b58 100644 --- a/app/src/main/assets/actions.json +++ b/app/src/main/assets/actions.json @@ -30,6 +30,9 @@ "sideEffects": { "onEnable": [ { "settingType": "global", "key": "adb_wifi_enabled", "value": "1", "valueType": "int" } + ], + "onDisable": [ + { "settingType": "global", "key": "adb_wifi_enabled", "value": "0", "valueType": "int" } ] } }, diff --git a/config/actions.json b/config/actions.json index 1168978..9044b58 100644 --- a/config/actions.json +++ b/config/actions.json @@ -30,6 +30,9 @@ "sideEffects": { "onEnable": [ { "settingType": "global", "key": "adb_wifi_enabled", "value": "1", "valueType": "int" } + ], + "onDisable": [ + { "settingType": "global", "key": "adb_wifi_enabled", "value": "0", "valueType": "int" } ] } },