Don't pass sp<this> in constructor.

Another good reason for not doing this is that
if the function you pass the sp<> into doesn't
keep the strong reference, the object will get
destructed while it's still being constructed!

In this particular case, this could happen if
servicemanager->registerForNotification() calls
fail.

Test: no crash when servicemanager call fails.
Change-Id: I36f52ecf95688aacac4722158746d118d27f99d7
1 file changed