Loading src/main/java/org/torproject/android/service/OrbotService.java +0 −15 Original line number Diff line number Diff line Loading @@ -704,14 +704,6 @@ public class OrbotService extends VpnService implements OrbotConstants { startTorService(); showTorServiceErrorMsg = true; if (Prefs.hostOnionServicesEnabled()) { try { updateV3OnionNames(); } catch (SecurityException se) { logNotice(getString(R.string.log_notice_unable_to_update_onions)); } } } catch (Exception e) { logException(getString(R.string.unable_to_start_tor) + " " + e.getLocalizedMessage(), e); stopTorOnError(e.getLocalizedMessage()); Loading Loading @@ -1105,13 +1097,6 @@ public class OrbotService extends VpnService implements OrbotConstants { showToolbarNotification(getString(R.string.your_relay_settings_caused_an_exception_), ERROR_NOTIFY_ID, R.drawable.ic_stat_notifyerr); return null; } if (Prefs.hostOnionServicesEnabled()) { var contentResolver = getApplicationContext().getContentResolver(); addV3OnionServicesToTorrc(extraLines, contentResolver); addV3ClientAuthToTorrc(extraLines, contentResolver); } return extraLines; } Loading Loading
src/main/java/org/torproject/android/service/OrbotService.java +0 −15 Original line number Diff line number Diff line Loading @@ -704,14 +704,6 @@ public class OrbotService extends VpnService implements OrbotConstants { startTorService(); showTorServiceErrorMsg = true; if (Prefs.hostOnionServicesEnabled()) { try { updateV3OnionNames(); } catch (SecurityException se) { logNotice(getString(R.string.log_notice_unable_to_update_onions)); } } } catch (Exception e) { logException(getString(R.string.unable_to_start_tor) + " " + e.getLocalizedMessage(), e); stopTorOnError(e.getLocalizedMessage()); Loading Loading @@ -1105,13 +1097,6 @@ public class OrbotService extends VpnService implements OrbotConstants { showToolbarNotification(getString(R.string.your_relay_settings_caused_an_exception_), ERROR_NOTIFY_ID, R.drawable.ic_stat_notifyerr); return null; } if (Prefs.hostOnionServicesEnabled()) { var contentResolver = getApplicationContext().getContentResolver(); addV3OnionServicesToTorrc(extraLines, contentResolver); addV3ClientAuthToTorrc(extraLines, contentResolver); } return extraLines; } Loading