commit | 0ca02a0c2c77bf88aa7d7b7c3ec04f9153ddce93 | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Thu Jan 14 13:14:31 2016 -0800 |
committer | Wei Jia <wjia@google.com> | Thu Jan 14 13:14:31 2016 -0800 |
tree | 66680f021382321571abab6bfb271c192f760641 | |
parent | 74a930b2bb7c61c25232c4f06b67abdbeaca8116 [diff] [blame] |
IMediaPlayer: NULL pointer is valid for httpService in some cases. Bug: 26524606 Change-Id: Ib3323618f9bb8883e8a398c62975a0cc278c64a3
diff --git a/media/libmedia/IMediaPlayer.cpp b/media/libmedia/IMediaPlayer.cpp index c523629..519a1fd 100644 --- a/media/libmedia/IMediaPlayer.cpp +++ b/media/libmedia/IMediaPlayer.cpp
@@ -444,7 +444,7 @@ } const char* url = data.readCString(); - if (httpService == NULL || url == NULL) { + if (url == NULL) { reply->writeInt32(BAD_VALUE); return NO_ERROR; }