Loading media/codec2/sfplugin/Codec2Buffer.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <aidl/android/hardware/graphics/common/Cta861_3.h> #include <aidl/android/hardware/graphics/common/Smpte2086.h> #include <android-base/no_destructor.h> #include <android-base/properties.h> #include <android/hardware/cas/native/1.0/types.h> #include <android/hardware/drm/1.0/types.h> Loading Loading @@ -1018,8 +1019,8 @@ using IMapper4 = ::android::hardware::graphics::mapper::V4_0::IMapper; namespace { sp<IMapper4> GetMapper4() { static sp<IMapper4> sMapper = IMapper4::getService(); return sMapper; static ::android::base::NoDestructor<sp<IMapper4>> sMapper(IMapper4::getService()); return *sMapper; } class Gralloc4Buffer { Loading Loading
media/codec2/sfplugin/Codec2Buffer.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <aidl/android/hardware/graphics/common/Cta861_3.h> #include <aidl/android/hardware/graphics/common/Smpte2086.h> #include <android-base/no_destructor.h> #include <android-base/properties.h> #include <android/hardware/cas/native/1.0/types.h> #include <android/hardware/drm/1.0/types.h> Loading Loading @@ -1018,8 +1019,8 @@ using IMapper4 = ::android::hardware::graphics::mapper::V4_0::IMapper; namespace { sp<IMapper4> GetMapper4() { static sp<IMapper4> sMapper = IMapper4::getService(); return sMapper; static ::android::base::NoDestructor<sp<IMapper4>> sMapper(IMapper4::getService()); return *sMapper; } class Gralloc4Buffer { Loading