commit 460f365b4ae73612c514ab5ebffa51800fb1e509 Author: Nathan Freitas nathan@freitas.net Date: Thu Nov 3 12:17:55 2016 -0400
make sure Tun2Socks native library gets loaded --- .../src/main/java/org/torproject/android/service/TorService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/orbotservice/src/main/java/org/torproject/android/service/TorService.java b/orbotservice/src/main/java/org/torproject/android/service/TorService.java index 0dab480..47af4ac 100644 --- a/orbotservice/src/main/java/org/torproject/android/service/TorService.java +++ b/orbotservice/src/main/java/org/torproject/android/service/TorService.java @@ -246,9 +246,11 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon }
mNotifyBuilder.setOngoing(Prefs.persistNotifications()); - mNotifyBuilder.setPriority(Notification.PRIORITY_LOW); - mNotifyBuilder.setCategory(Notification.CATEGORY_SERVICE);
+ if (!Prefs.persistNotifications()) + mNotifyBuilder.setPriority(Notification.PRIORITY_LOW); + + mNotifyBuilder.setCategory(Notification.CATEGORY_SERVICE);
mNotification = mNotifyBuilder.build();
tor-commits@lists.torproject.org