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 f96181f commit 5b02a1bCopy full SHA for 5b02a1b
app/src/main/java/tech/httptoolkit/android/HttpToolkitApplication.kt
@@ -157,6 +157,11 @@ class HttpToolkitApplication : Application() {
157
158
suspend fun isUpdateRequired(): Boolean {
159
return withContext(Dispatchers.IO) {
160
+ if (isVpnActive()) {
161
+ Log.i(TAG, "VPN currently active, so not checking for updates for now")
162
+ return@withContext false
163
+ }
164
+
165
if (wasInstalledFromStore(this@HttpToolkitApplication)) {
166
// We only check for updates for side-loaded/ADB-loaded versions. This is useful
167
// because otherwise anything outside the play store gets no updates.
0 commit comments