From c0a0aaa37b6992d3beadfc1d76ecd9f33e96a7e6 Mon Sep 17 00:00:00 2001
From: bytedream <bytedream@protonmail.com>
Date: Sun, 28 Jul 2024 19:15:20 +0200
Subject: [PATCH] fix proxy not being delete when shutdown android mitmproxy

---
 android/mitmproxy.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/mitmproxy.sh b/android/mitmproxy.sh
index d05e640..2c49a8e 100755
--- a/android/mitmproxy.sh
+++ b/android/mitmproxy.sh
@@ -131,7 +131,7 @@ up() {
 }
 
 down() {
-  adb shell settings delete global http_proxy
+  adb shell shell settings put global http_proxy :0
   adb shell reboot -p
 }