We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02a16d commit cb5c7d9Copy full SHA for cb5c7d9
app/src/main/java/tech/httptoolkit/android/HttpToolkitApplication.kt
@@ -31,6 +31,7 @@ private val isProbablyEmulator =
31
Build.FINGERPRINT.startsWith("generic")
32
|| Build.FINGERPRINT.startsWith("unknown")
33
|| Build.MODEL.contains("google_sdk")
34
+ || Build.MODEL.contains("sdk_gphone")
35
|| Build.MODEL.contains("Emulator")
36
|| Build.MODEL.contains("Android SDK built for x86")
37
|| Build.BOARD == "QC_Reference_Phone"
@@ -89,7 +90,10 @@ class HttpToolkitApplication : Application() {
89
90
*/
91
fun popVpnKilledState(): Boolean {
92
return vpnWasKilled
- .also { this.vpnWasKilled = false }
93
+ .also {
94
+ this.vpnWasKilled = false
95
+ this.vpnShouldBeRunning = false
96
+ }
97
}
98
99
/**
0 commit comments