commit | a6d8d0b69c9129c7ab412c82b483a600ef9ef1ac | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Thu Feb 09 11:14:47 2017 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Fri Feb 17 01:03:12 2017 +0000 |
tree | 61e21958e6d904764dff4cd8a94825d686cdf4f5 | |
parent | ab2d67adc4ba05d03f478c0b4f898f30250688ee [diff] |
Fix NPE which occurs when MediaBrowserService.onLoadItem gives null NPE happens in Android O and after because MediaBrowserCompat.ItemCallback.onItemLoaded can take a null result from Android O. Test: Tested manually with MediaBrowserCompat which connects to framework MediaBrowserService. Checked that the null result can be sent successfully in Android O. Change-Id: I882d0c775184925299401f849374cd8858ba3bdc