make sure Tun2Socks native library gets loaded
This commit is contained in:
parent
5927fb0123
commit
460f365b4a
|
@ -246,9 +246,11 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon
|
||||||
}
|
}
|
||||||
|
|
||||||
mNotifyBuilder.setOngoing(Prefs.persistNotifications());
|
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();
|
mNotification = mNotifyBuilder.build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue