diff options
author | Joey Grover <joeygrover@gmail.com> | 2016-11-01 15:53:45 -0400 |
---|---|---|
committer | Joey Grover <joeygrover@gmail.com> | 2016-11-01 15:53:45 -0400 |
commit | 8ec3916288f1526abe390432b7698dc69a256fc8 (patch) | |
tree | b9b82ac1eab528d6997b534d0b56b2ed3f8b3c50 | |
parent | 8bb3e60c47af20339b7b402218d93c6bc4fa53ec (diff) | |
download | sdl_android-8ec3916288f1526abe390432b7698dc69a256fc8.tar.gz |
Remove code that stopped self untrusted router service
This becomes an issue if the app hasn’t updated it’s trusted app list but other apps have.
-rw-r--r-- | sdl_android_lib/src/com/smartdevicelink/transport/RouterServiceValidator.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sdl_android_lib/src/com/smartdevicelink/transport/RouterServiceValidator.java b/sdl_android_lib/src/com/smartdevicelink/transport/RouterServiceValidator.java index 7791c2e71..5c7027180 100644 --- a/sdl_android_lib/src/com/smartdevicelink/transport/RouterServiceValidator.java +++ b/sdl_android_lib/src/com/smartdevicelink/transport/RouterServiceValidator.java @@ -128,13 +128,6 @@ public class RouterServiceValidator { } }//No running service found. Might need to attempt to start one //TODO spin up a known good router service - - if(context.getPackageName().equalsIgnoreCase(packageName)){ - Log.d(TAG, "It's our router service running, so time to shut it down"); - Intent intent = new Intent(); - intent.setComponent(service); - try{context.stopService(intent);}catch(Exception e){} - } wakeUpRouterServices(); return false; } |