mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Camera: VTS: Fail test if availableSettingsOverride is empty
If availableSettingsOverride key is in CameraCharacteristics, it must contains at least OFF. Test: atest VtsAidlHalCameraProvider_TargetTest Bug: 272546819 Change-Id: If6fb7275fc1191947dc120c9873274f4a1883720
This commit is contained in:
@@ -336,7 +336,7 @@ void CameraAidlTest::verifySettingsOverrideCharacteristics(const camera_metadata
|
||||
int retcode = find_camera_metadata_ro_entry(metadata,
|
||||
ANDROID_CONTROL_AVAILABLE_SETTINGS_OVERRIDES, &entry);
|
||||
bool supportSettingsOverride = false;
|
||||
if ((0 == retcode) && (entry.count > 0)) {
|
||||
if (0 == retcode) {
|
||||
supportSettingsOverride = true;
|
||||
bool hasOff = false;
|
||||
for (size_t i = 0; i < entry.count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user