Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60f98f1c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Camera: Fix condition check for Performance Class" into tm-dev am:...

Merge "Camera: Fix condition check for Performance Class" into tm-dev am: e054011b am: e1036abe am: 0d787d1d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/18673802



Change-Id: I4476af04058d1f3007738acf4ce7e5e6133d8dd1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 74dbeda5 0d787d1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ namespace SessionConfigurationUtils {
int32_t PERF_CLASS_LEVEL =
        property_get_int32("ro.odm.build.media_performance_class", 0);

bool IS_PERF_CLASS = (PERF_CLASS_LEVEL == SDK_VERSION_S);
bool IS_PERF_CLASS = (PERF_CLASS_LEVEL >= SDK_VERSION_S);

camera3::Size getMaxJpegResolution(const CameraMetadata &metadata,
        bool ultraHighResolution) {