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

Commit 15e49d02 authored by Austin Borger's avatar Austin Borger
Browse files

Camera: Add color space in CameraStreamProto

Test: Ran statsd_testdrive, verified color space info was correct.
Bug: 238359088
Change-Id: I6ef171f89423c24e672edb568c715a6c9f0bd3d8
parent 59eec43b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -841,6 +841,7 @@ public class CameraServiceProxy extends SystemService
                    streamProtos[i].histogramCounts = streamStats.getHistogramCounts();
                    streamProtos[i].dynamicRangeProfile = streamStats.getDynamicRangeProfile();
                    streamProtos[i].streamUseCase = streamStats.getStreamUseCase();
                    streamProtos[i].colorSpace = streamStats.getColorSpace();

                    if (CameraServiceProxy.DEBUG) {
                        String histogramTypeName =
@@ -863,7 +864,8 @@ public class CameraServiceProxy extends SystemService
                                + ", histogramCounts "
                                + Arrays.toString(streamProtos[i].histogramCounts)
                                + ", dynamicRangeProfile " + streamProtos[i].dynamicRangeProfile
                                + ", streamUseCase " + streamProtos[i].streamUseCase);
                                + ", streamUseCase " + streamProtos[i].streamUseCase
                                + ", colorSpace " + streamProtos[i].colorSpace);
                    }
                }
            }