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

Commit 123dc008 authored by Scott Wiest's avatar Scott Wiest Committed by Android (Google) Code Review
Browse files

Merge "Adding JPEG_R support for Postview Images" into main

parents b0af4d4f 4e5325aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ import android.os.ConditionVariable;
import android.os.IBinder;
import android.os.RemoteException;
import android.os.SystemProperties;
import android.util.FeatureFlagUtils;
import android.util.IntArray;
import android.util.Log;
import android.util.Pair;
@@ -722,6 +721,7 @@ public final class CameraExtensionCharacteristics {
                switch(format) {
                    case ImageFormat.YUV_420_888:
                    case ImageFormat.JPEG:
                    case ImageFormat.JPEG_R:
                        break;
                    default:
                        throw new IllegalArgumentException("Unsupported format: " + format);