diff --git a/camera/provider/2.4/default/CameraProvider.cpp b/camera/provider/2.4/default/CameraProvider.cpp index 8e37b267f9..63139390cb 100644 --- a/camera/provider/2.4/default/CameraProvider.cpp +++ b/camera/provider/2.4/default/CameraProvider.cpp @@ -298,7 +298,8 @@ bool CameraProvider::initialize() { return true; } - mPreferredHal3MinorVersion = property_get_int32("ro.camera.wrapper.hal3TrebleMinorVersion", 3); + mPreferredHal3MinorVersion = + property_get_int32("ro.vendor.camera.wrapper.hal3TrebleMinorVersion", 3); ALOGV("Preferred HAL 3 minor version is %d", mPreferredHal3MinorVersion); switch(mPreferredHal3MinorVersion) { case 2: