commit | 6709b6d399b2ccffcffbb0c8410577be02c3a2e5 | [log] [tgz] |
---|---|---|
author | Doris Ling <dling@google.com> | Tue Mar 28 11:14:34 2017 -0700 |
committer | Doris Ling <dling@google.com> | Tue Mar 28 18:28:44 2017 +0000 |
tree | 6c9b1d163f990b6b307ad8d5ac08c1845629a221 | |
parent | 32924e2f58625301fbb95adb5e1c9d54f97cc1d5 [diff] |
Add null check for the media player when surface texture is available. - Call to MediaPlayer.create() method can return null, and hence we need to check the return value before trying access the media player. Change-Id: I4a5e0edbd6db21b678efb05ea733187f34185432 Fix: 36668356 Test: make RunSettingsRoboTests