DescriptionAdd null checks for mNativeRemoteMediaPlayer
The null check in release() (which fixes the bug) became necessary
because of the recent refactoring. Although the current C++ code
should mean that some of the other members don't need null checks
this could change in future, so it seems sensible to put them in
throughout.
BUG=544717
Committed: https://crrev.com/3f082c0c58857aa2546c0b5fbbba68066ff76e91
Cr-Commit-Position: refs/heads/master@{#355033}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add null checks throughout. #Messages
Total messages: 10 (3 generated)
|