We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c9b80 commit 783a8cdCopy full SHA for 783a8cd
src/android/Chromecast.java
@@ -207,7 +207,7 @@ public boolean requestSession(final CallbackContext callbackContext) {
207
public void run() {
208
mMediaRouter = MediaRouter.getInstance(activity.getApplicationContext());
209
final List<RouteInfo> routeList = mMediaRouter.getRoutes();
210
- routeList.sort(Comparator.comparing(RouteInfo::getName));
+ Collections.sort(routeList, new RouteListComparer());
211
212
AlertDialog.Builder builder = new AlertDialog.Builder(activity);
213
builder.setTitle("Choose a Chromecast");
0 commit comments