Skip to content

Commit 2edc097

Browse files
committed
Fixes #335
1 parent b498b89 commit 2edc097

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sdl_android_lib/src/com/smartdevicelink/transport/SdlBroadcastReceiver.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,10 @@ private static boolean isRouterServiceRunning(Context context, boolean pingServi
191191
intent.putExtra(TransportConstants.PING_ROUTER_SERVICE_EXTRA, pingService);
192192
context.startService(intent);
193193
}
194-
return true;
195194
}
196195
}
197196

198-
return false;
197+
return runningBluetoothServicePackage.size() > 0;
199198

200199
}
201200

0 commit comments

Comments
 (0)