summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Avichal Rakesh <arakesh@google.com> 2024-03-20 18:56:09 -0700
committer Avichal Rakesh <arakesh@google.com> 2024-03-28 16:10:51 -0700
commit84e1dc181b7efb6389c1f18b32b1eed95de63c91 (patch)
tree2f5a78a9605d022a3eee02080a3b6eddd4bce69e /libs/androidfw/StringPool.cpp
parent3fbb8193657f175a58c3bae54cc929046e616785 (diff)
Camera2: Add Session Characteristic keys by query version.
The current implementation of `CameraCharacteristics#getAvailableSessionCharacteristicsKeys` just hard codes the keys that will be supported in Android V. However, this meant that there was no way of adding support for more keys in the future. This CL uses AVAILABLE_SESSION_CHARACTERISTICS_KEYS_MAP which is generated from metadata_definitions.xml to dynamically calculate the output of getAvailableSessionCharacteristicsKeys. This allows the output of the API to change depending on the HAL capability. Bug: 303645857 Test: atest android.hardware.camera2.cts.CameraDeviceSetupTest passes Change-Id: I62cdc73b18100ade705d4d91d03669273ad7ed93
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions