[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] remove app updater code to address concerns in #323



commit 7d7b2e98705dcb8d28c9ead6a637471737273adb
Author: n8fr8 <nathan@xxxxxxxxxxxxxxxxxxxx>
Date:   Tue Apr 28 16:58:45 2020 -0400

    remove app updater code to address concerns in #323
---
 app/build.gradle                                       | 1 -
 app/src/main/java/org/torproject/android/OrbotApp.java | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 2bae9bf6..19fad531 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -121,7 +121,6 @@ dependencies {
     implementation 'com.google.android.material:material:1.1.0'
     implementation 'pl.bclogic:pulsator4droid:1.0.3'
     implementation 'com.github.apl-devs:appintro:v4.2.2'
-    implementation 'com.github.javiersantos:AppUpdater:2.7'
     androidTestImplementation "tools.fastlane:screengrab:1.2.0"
     implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
     implementation 'com.android.volley:volley:1.1.1'
diff --git a/app/src/main/java/org/torproject/android/OrbotApp.java b/app/src/main/java/org/torproject/android/OrbotApp.java
index e265bef8..166e5efc 100644
--- a/app/src/main/java/org/torproject/android/OrbotApp.java
+++ b/app/src/main/java/org/torproject/android/OrbotApp.java
@@ -36,11 +36,6 @@ public class OrbotApp extends Application implements OrbotConstants {
             Languages.setLanguage(this, Prefs.getDefaultLocale(), true);
         }
 
-        //check for updates via github, since it is unlikely to be blocked; notify the user of places where upgrades can be found
-        new AppUpdater(this)
-                .setUpdateFrom(UpdateFrom.JSON)
-                .setUpdateJSON("https://raw.githubusercontent.com/guardianproject/orbot/master/update.json";)
-                .setDisplay(Display.NOTIFICATION).start();
     }
 
     @Override



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits