diff options
author | Sungsoo <sungsoo@google.com> | 2016-08-18 13:17:58 +0900 |
---|---|---|
committer | Sungsoo <sungsoo@google.com> | 2016-08-30 14:23:38 +0900 |
commit | d570d5ca3caeafd3b3779cc4ce7a04f07dc0bef7 (patch) | |
tree | 95616c6746824e01966ba80ffb34d5c22e8d2602 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 808699f2bb30dbe3684b32cc378093e032ce1fd8 (diff) |
MediaBrowser: Make ItemCallback can take a null media item
When the implementation of MediaBrowserService returns null,
ItemCallback.onError was called, but the JavaDoc is saying that
ItemCallback.onItemLoaded can be called with a null result.
This CL makes ItemCallback.onItemLoaded be able to take a null result,
and ItemCallback.onError be called when the implementation doesn't override
the onLoadItem method or when the returned object is not MediaItem.
Bug: 27808084
Change-Id: I97cfd83786f8f857dc9551e5b0a358962f98e4a2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions