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

Commit 0893341d authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the issue that the usage of ImageReaderOutputConfig is not set correctly." into main

parents 6475b919 017e1c52
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -2605,11 +2605,7 @@ public class CameraExtensionsProxyService extends Service {
            ret.size.height = imageReaderOutputConfig.getSize().getHeight();
            ret.imageFormat = imageReaderOutputConfig.getImageFormat();
            ret.capacity = imageReaderOutputConfig.getMaxImages();
            if (EFV_SUPPORTED) {
            ret.usage = imageReaderOutputConfig.getUsage();
            } else {
                ret.usage = 0;
            }
        } else if (output instanceof MultiResolutionImageReaderOutputConfigImpl) {
            MultiResolutionImageReaderOutputConfigImpl multiResReaderConfig =
                    (MultiResolutionImageReaderOutputConfigImpl) output;