Merge "Add "vendor." prefix to ro.camera.wrapper.hal3TrebleMinorVersion" into pi-dev

This commit is contained in:
TreeHugger Robot 2018-04-12 23:54:33 +00:00 committed by Android (Google) Code Review
commit 516ebb6d5e

View file

@ -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: