Skip to content

Commit 647c5d9

Browse files
committed
Refactor method name closeUSBAccessoryAttachmentActivity to acknowledgeUSBAccessoryReceived in RS
1 parent 97a989f commit 647c5d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)