Add AUTOFRAMING_AUTO mode
When an app sets CONTROL_AUTOFRAMING to AUTO, the app needs to fetch the
system default for the autoframing state.
Test: CTS tests continue to pass
Bug: 234004829
Change-Id: I2ef2c10dbe2889e18c28218cea68f3779afdad5f
diff --git a/services/camera/libcameraservice/utils/CameraServiceProxyWrapper.h b/services/camera/libcameraservice/utils/CameraServiceProxyWrapper.h
index c00c691..0f77fc9 100644
--- a/services/camera/libcameraservice/utils/CameraServiceProxyWrapper.h
+++ b/services/camera/libcameraservice/utils/CameraServiceProxyWrapper.h
@@ -104,6 +104,9 @@
// Return the current top activity rotate and crop override.
int getRotateAndCropOverride(String16 packageName, int lensFacing, int userId);
+ // Return the current top activity autoframing.
+ int getAutoframingOverride(const String16& packageName);
+
// Detect if the camera is disabled by device policy.
bool isCameraDisabled(int userId);
};