commit 8f57b42e68ea96f784c92655b0039e0196f05200 Author: Hans-Christoph Steiner hans@eds.org Date: Fri Jun 12 14:46:47 2015 -0400
rename TorStarter to IncomingIntentRouter, it handles all Intents
TorStarter does lots of things besides starting Tor --- src/org/torproject/android/service/TorService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index fd7bcc8..a78769c 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -322,18 +322,18 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon */ public int onStartCommand(Intent intent, int flags, int startId) { if (intent != null) - new Thread (new TorStarter(intent)).start(); + new Thread (new IncomingIntentRouter(intent)).start(); else Log.d(TAG, "Got null onStartCommand() intent");
return Service.START_STICKY; }
- private class TorStarter implements Runnable + private class IncomingIntentRouter implements Runnable { Intent mIntent;
- public TorStarter (Intent intent) + public IncomingIntentRouter (Intent intent) { mIntent = intent; }
tor-commits@lists.torproject.org