File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
sdl_android_lib/src/com/smartdevicelink/transport Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -654,7 +654,9 @@ public IBinder onBind(Intent intent) {
654
654
}
655
655
String requestType = intent .getAction ();//intent.getIntExtra(TransportConstants.ROUTER_BIND_REQUEST_TYPE_EXTRA, TransportConstants.BIND_REQUEST_TYPE_CLIENT);
656
656
if (TransportConstants .BIND_REQUEST_TYPE_ALT_TRANSPORT .equals (requestType )){
657
- return this .altTransportMessenger .getBinder ();
657
+ if (0 != (getApplicationInfo ().flags & ApplicationInfo .FLAG_DEBUGGABLE )){ //Only allow alt transport in debug mode
658
+ return this .altTransportMessenger .getBinder ();
659
+ }
658
660
}else if (TransportConstants .BIND_REQUEST_TYPE_CLIENT .equals (requestType )){
659
661
return this .routerMessenger .getBinder ();
660
662
}else if (TransportConstants .BIND_REQUEST_TYPE_STATUS .equals (requestType )){
You can’t perform that action at this time.
0 commit comments