make sure Tun2Socks native library gets loaded

This commit is contained in:
Nathan Freitas 2016-11-03 12:17:55 -04:00
parent 5927fb0123
commit 460f365b4a
1 changed files with 4 additions and 2 deletions

View File

@ -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();