libbinder: Add ClientCounterCallbackImpl to LazyServiceRegistrar
This extra layer of indirection below ClientCounterCallback fixes a shared pointer ownership issue between LazyServiceRegistrar and ServiceManager. It also allows for implementation changes (like this one) without changing headers and breaking VNDK.
Test: Manual (Went through reproduction steps in bug on cf_x86_phone-userdebug)
Test: atest aidl_lazy_test
(cherry picked from commit 7c227cc333b85938a1ad0f860655bb83567ca755)
1 file changed