diff options
author | BrettyWhite <geekman3454@protonmail.com> | 2018-10-03 09:33:13 -0400 |
---|---|---|
committer | BrettyWhite <geekman3454@protonmail.com> | 2018-10-03 09:33:13 -0400 |
commit | 0c663138c7edf70932bd759823f8c22494452c9e (patch) | |
tree | 3885f9778817a8b54d31323addec38d58abec2d9 | |
parent | 960e67ea069b2dfdd2dab0caf99f948f32c0b5c3 (diff) | |
download | sdl_android-0c663138c7edf70932bd759823f8c22494452c9e.tar.gz |
fix spacing and add more descriptive comments
-rwxr-xr-x | hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/SdlService.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/SdlService.java b/hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/SdlService.java index c813f87ec..2847a3fd6 100755 --- a/hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/SdlService.java +++ b/hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/SdlService.java @@ -120,6 +120,8 @@ public class SdlService extends Service { private void startProxy() { // This logic is to select the correct transport and security levels defined in the selected build flavor + // Build flavors are selected by the "build variants" tab typically located in the bottom left of Android Studio + // Typically in your app, you will only set one of these. if (sdlManager == null) { Log.i(TAG, "Starting SDL Proxy"); BaseTransportConfig transport = null; @@ -137,8 +139,7 @@ public class SdlService extends Service { transport = new MultiplexTransportConfig(this, APP_ID, securityLevel); } else if (BuildConfig.TRANSPORT.equals("TCP")) { transport = new TCPTransportConfig(TCP_PORT, DEV_MACHINE_IP_ADDRESS, true); - } - else if (BuildConfig.TRANSPORT.equals("MULTI_HB")) { + } else if (BuildConfig.TRANSPORT.equals("MULTI_HB")) { MultiplexTransportConfig mtc = new MultiplexTransportConfig(this, APP_ID, MultiplexTransportConfig.FLAG_MULTI_SECURITY_OFF); mtc.setRequiresHighBandwidth(true); transport = mtc; |