Snap for 10453563 from 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b to mainline-appsearch-release Change-Id: I1f519dc771c67fe3bfec06cfa23f1539bcc0f769
diff --git a/media/eco/ECOSession.cpp b/media/eco/ECOSession.cpp index ea5d552..1a2e910 100644 --- a/media/eco/ECOSession.cpp +++ b/media/eco/ECOSession.cpp
@@ -56,7 +56,7 @@ // Only support up to 1080P. // TODO: Support the same resolution as in EAF. if (width <= 0 || height <= 0 || width > 5120 || height > 5120 || - width > 1920 * 1080 / height) { + width > 1920 * 1088 / height) { ECOLOGE("Failed to create ECOSession with w: %d, h: %d, isCameraRecording: %d", width, height, isCameraRecording); return nullptr;