OSDN Git Service

Don't use sp<>&
authorMarco Nelissen <marcone@google.com>
Tue, 7 Jun 2016 19:26:43 +0000 (12:26 -0700)
committerMarco Nelissen <marcone@google.com>
Thu, 9 Jun 2016 00:10:39 +0000 (17:10 -0700)
commitd0f4bfb5527e88e868c4263cb6c9d219367b9fc9
tree69301a8556126d12747adc0544dc57a8c389d97a
parent33e914c861732cbcca923d34d368e1635b68434f
Don't use sp<>&

because they may end up pointing to NULL after a NULL check was performed.

Bug: 28166152
Change-Id: Iab2ea30395b620628cc6f3d067dd4f6fcda824fe
include/media/IMediaDeathNotifier.h
media/libmedia/IMediaDeathNotifier.cpp
media/libmedia/mediaplayer.cpp
media/libmedia/mediarecorder.cpp