Loading media/java/android/media/MediaPlayer.java +8 −0 Original line number Diff line number Diff line Loading @@ -2192,6 +2192,7 @@ public class MediaPlayer implements SubtitleController.Listener Log.w(TAG, "mediaplayer went away with unhandled events"); return; } try { switch(msg.what) { case MEDIA_PREPARED: scanInternalSubtitleTracks(); Loading Loading @@ -2307,6 +2308,13 @@ public class MediaPlayer implements SubtitleController.Listener Log.e(TAG, "Unknown message type " + msg.what); return; } } catch (NullPointerException e) { /** * We may get an NPE even with the null checks above due * to threading issues. Just ignore it. */ Log.e(TAG, "Unhandled NPE from message type " + msg.what); } } } Loading Loading
media/java/android/media/MediaPlayer.java +8 −0 Original line number Diff line number Diff line Loading @@ -2192,6 +2192,7 @@ public class MediaPlayer implements SubtitleController.Listener Log.w(TAG, "mediaplayer went away with unhandled events"); return; } try { switch(msg.what) { case MEDIA_PREPARED: scanInternalSubtitleTracks(); Loading Loading @@ -2307,6 +2308,13 @@ public class MediaPlayer implements SubtitleController.Listener Log.e(TAG, "Unknown message type " + msg.what); return; } } catch (NullPointerException e) { /** * We may get an NPE even with the null checks above due * to threading issues. Just ignore it. */ Log.e(TAG, "Unhandled NPE from message type " + msg.what); } } } Loading