commit | 30d4a498c4bb99eb16d8bfd8ccfdd413c1dad881 | [log] [tgz] |
---|---|---|
author | qinzhichao <qinzhichao@xiaomi.com> | Wed Jan 04 14:51:33 2017 +0800 |
committer | qinzhichao <qinzhichao@xiaomi.com> | Wed Jan 04 14:51:33 2017 +0800 |
tree | a87d0044a8da7b712ba09166e98e336b68daee5b | |
parent | 6c5cc261f804fb6bf549b6ef65d53cfef60b6244 [diff] |
Fix NullPointerException in MediaPlayer Issue detail: https://code.google.com/p/android/issues/detail?id=231417 setSubtitleAnchor() is a synchronized method and has checked mSubtitleController. So checking for null pointer is not needed in scanInternalSubtitleTracks() method. Signed-off-by: qinzhichao <qinzhichao@xiaomi.com>