Avoid creating sp<> from a pointer
The recommended practice is to use sp<>::make, sp<>::fromExisting, or making copies from other sp<>. This is to avoid various edge cases with RefBase. Set ANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION for libaudioeffect_jni to catch non-recommended usages as compile time. Bug: 243364224 Test: m Change-Id: I697b33bd701b324da44ae4694ca7a1ec0e9afe77
Loading
Please register or sign in to comment