Loading libs/binder/ndk/include_cpp/android/binder_auto_utils.h +6 −1 Original line number Diff line number Diff line Loading @@ -43,10 +43,15 @@ namespace ndk { */ class SpAIBinder { public: /** * Default constructor. */ SpAIBinder() : mBinder(nullptr) {} /** * Takes ownership of one strong refcount of binder. */ explicit SpAIBinder(AIBinder* binder = nullptr) : mBinder(binder) {} explicit SpAIBinder(AIBinder* binder) : mBinder(binder) {} /** * Convenience operator for implicitly constructing an SpAIBinder from nullptr. This is not Loading Loading
libs/binder/ndk/include_cpp/android/binder_auto_utils.h +6 −1 Original line number Diff line number Diff line Loading @@ -43,10 +43,15 @@ namespace ndk { */ class SpAIBinder { public: /** * Default constructor. */ SpAIBinder() : mBinder(nullptr) {} /** * Takes ownership of one strong refcount of binder. */ explicit SpAIBinder(AIBinder* binder = nullptr) : mBinder(binder) {} explicit SpAIBinder(AIBinder* binder) : mBinder(binder) {} /** * Convenience operator for implicitly constructing an SpAIBinder from nullptr. This is not Loading