commit | 7146ced4a7a50ba6eb65a23bf7e79b1d60b8a94a | [log] [tgz] |
---|---|---|
author | Bharatt Kukreja <bkukreja@google.com> | Tue Oct 25 15:45:29 2022 +0000 |
committer | Bharatt Kukreja <bkukreja@google.com> | Tue Nov 29 18:30:33 2022 +0000 |
tree | 35babf506d6c3da921db6732f5ec018fa2f1d437 | |
parent | 4605759aff83d193cf393d698e06dc032cb6f4fb [diff] [blame] |
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/api2/CameraOfflineSessionClient.cpp b/services/camera/libcameraservice/api2/CameraOfflineSessionClient.cpp index 4d4d481..ea90987 100644 --- a/services/camera/libcameraservice/api2/CameraOfflineSessionClient.cpp +++ b/services/camera/libcameraservice/api2/CameraOfflineSessionClient.cpp
@@ -81,6 +81,10 @@ return OK; } +status_t CameraOfflineSessionClient::setAutoframingOverride(uint8_t) { + return OK; +} + bool CameraOfflineSessionClient::supportsCameraMute() { // Offline mode doesn't support muting return false;