Don't use sp<>&

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

Bug: 28166152
Change-Id: Iab2ea30395b620628cc6f3d067dd4f6fcda824fe
(cherry picked from commit d01cc80eaf2c5e1a1681d1410626c0ea7ba1dca8)
4 files changed