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

Commit c4e976da authored by Chong Zhang's avatar Chong Zhang Committed by Android (Google) Code Review
Browse files

Merge "don't select default track if subtitle controller is not present"

parents 5096defd 70260203
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2335,7 +2335,9 @@ public class MediaPlayer implements SubtitleController.Listener
                case MEDIA_INFO_EXTERNAL_METADATA_UPDATE:
                    msg.arg1 = MEDIA_INFO_METADATA_UPDATE;
                    // update default track selection
                    if (mSubtitleController != null) {
                        mSubtitleController.selectDefaultTrack();
                    }
                    break;
                }