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

Commit 4e5325aa authored by Scott Wiest's avatar Scott Wiest
Browse files

Adding JPEG_R support for Postview Images

Test: m and test Postview

Bug: 315871643
Change-Id: Id8d69d5bebd24e2824ce2e8710c925ae1710fd53
parent da3e9759
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);