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 @@ -1175,7 +1175,14 @@ public void onCreate() {
11751175 }
11761176
11771177 /**
1178- * The method will attempt to start up the next router service in line based on the sorting criteria of best router service.
1178+ * The method will attempt to start up the next router service in line based on the sorting
1179+ * criteria of best router service.
1180+ * If a ParcelFileDescriptor is not null, we pass it along to the next RouterService to give
1181+ * it a chane to connected via AOA. This only happens on Android 14 and above when the app
1182+ * selected to host the RouterService does not satisfy the requirements for permission
1183+ * FOREGROUND_SERVICE_CONNECTED_DEVICE. By passing along the usbPfd, it will give the next
1184+ * RouterService selected a chance to connect.
1185+ * @param usbPfd a ParcelFileDescriptor used for AOA connections.
11791186 */
11801187 protected void deployNextRouterService (ParcelFileDescriptor usbPfd ) {
11811188 List <SdlAppInfo > sdlAppInfoList = AndroidTools .querySdlAppInfo (getApplicationContext (), new SdlAppInfo .BestRouterComparator (), null );
You can’t perform that action at this time.
0 commit comments