From 8f57b42e68ea96f784c92655b0039e0196f05200 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 12 Jun 2015 14:46:47 -0400 Subject: [PATCH] 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 fd7bcc89..a78769ce 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; }