commit e206a241ab5a4c95d0bbbc4d93826343e7117c5b Author: Nathan Freitas nathan@freitas.net Date: Mon Jan 9 00:23:23 2012 -0500
only bind service if variable currently null --- src/org/torproject/android/Orbot.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/android/Orbot.java b/src/org/torproject/android/Orbot.java index b7bb62f..a93586d 100644 --- a/src/org/torproject/android/Orbot.java +++ b/src/org/torproject/android/Orbot.java @@ -390,8 +390,13 @@ public class Orbot extends Activity implements OnLongClickListener, TorConstants autoStartOnBind = true; if (mService == null) + { bindService(); - + } + else + { + //already running! + } } else {
tor-commits@lists.torproject.org