summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Avichal Rakesh <arakesh@google.com> 2024-03-25 15:28:30 -0700
committer Avichal Rakesh <arakesh@google.com> 2024-03-28 17:11:08 -0700
commit22d63688cdec8826dfbcac681acf96c110d23ec9 (patch)
treeb78b6fb18f346b8a9f2db972e380f0862db9addd /libs/androidfw/StringPool.cpp
parent84e1dc181b7efb6389c1f18b32b1eed95de63c91 (diff)
camera2: Ensure SessionCharacteristics and CameraCharactersitics can
be used interchangeably CameraDeviceSetup#getSessionCharacteristics documentation says that the returned session characteristics can be used everywhere static charactersitics from CameraManager#getCameraCharacteristics is. However #getCameraCharacteristics sets up a few extra fields and keys in the CameraMetadataNative object returned from cameraservice that SessionCharacteristics was missing. To make the return value of #getSessionCharacteristics completely on par with the return value of #getCameraCharacteristics, this CL ensures that #getSessionCharacteristics and #getCameraCharateristics run the same logic on the CameraMetadataNative object returned from cameraservice before returning it to the caller. Bug: 303645857 Test: atest android.hardware.camera2.cts.CameraDeviceSetupTest passes Change-Id: Ia7ac40c768480a39fe0d1dd9392b5777b0fc2694
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions