File tree Expand file tree Collapse file tree
android/sdl_android/src/main/java/com/smartdevicelink/transport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -866,7 +866,7 @@ public void handleMessage(Message msg) {
866866 // If we do not have permission to enter the Foreground, we pass off hosting the RouterService to another app.
867867 if (!AndroidTools .ServicePermissionUtil .hasForegroundServiceTypePermission (service .getApplicationContext ())) {
868868 service .deployNextRouterService (parcelFileDescriptor );
869- closeUSBAccessoryAttachmentActivity (msg );
869+ acknowledgeUSBAccessoryReceived (msg );
870870 return ;
871871 }
872872
@@ -908,7 +908,7 @@ public void onReceive(Context context, Intent intent) {
908908
909909
910910 }
911- closeUSBAccessoryAttachmentActivity (msg );
911+ acknowledgeUSBAccessoryReceived (msg );
912912
913913 break ;
914914 case TransportConstants .ALT_TRANSPORT_CONNECTED :
@@ -919,7 +919,7 @@ public void onReceive(Context context, Intent intent) {
919919 }
920920 }
921921
922- private void closeUSBAccessoryAttachmentActivity (Message msg ) {
922+ private void acknowledgeUSBAccessoryReceived (Message msg ) {
923923 if (msg .replyTo != null ) {
924924 Message message = Message .obtain ();
925925 message .what = TransportConstants .ROUTER_USB_ACC_RECEIVED ;
You can’t perform that action at this time.
0 commit comments