commit fc6392932f354498bc89b263fcdc5bfe4cd29bbd Author: Nathan Freitas nathan@freitas.net Date: Wed Jun 11 20:24:21 2014 -0400
ensure diag/test mode stop's Tor on activity exit --- src/org/torproject/android/OrbotDiagnosticsActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/org/torproject/android/OrbotDiagnosticsActivity.java b/src/org/torproject/android/OrbotDiagnosticsActivity.java index db7ab21..717d3ee 100644 --- a/src/org/torproject/android/OrbotDiagnosticsActivity.java +++ b/src/org/torproject/android/OrbotDiagnosticsActivity.java @@ -57,8 +57,9 @@ public class OrbotDiagnosticsActivity extends Activity { @Override protected void onPause() { - // TODO Auto-generated method stub super.onPause(); + + stopTor(); }
@Override