Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56fbd14f authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am 1b4ea7ef: Sanity check while updating volume in MediaRouteChooserDialog

* commit '1b4ea7ef':
  Sanity check while updating volume in MediaRouteChooserDialog
parents 3b939b72 1b4ea7ef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -122,6 +122,8 @@ public class MediaRouteChooserDialogFragment extends DialogFragment {
    }

    void updateVolume() {
        if (mRouter == null) return;

        final RouteInfo selectedRoute = mRouter.getSelectedRoute(mRouteTypes);
        mVolumeIcon.setImageResource(
                selectedRoute.getPlaybackType() == RouteInfo.PLAYBACK_TYPE_LOCAL ?