cameraserver: Remove framework only keys before sending capture requests to hal.

Framework only keys ANDROID_SCALER_CROP_REGION_SET,
ANDROID_AF_REGION_SET, ANDROID_AE_REGION_SET, ANDROID_AWB_REGION_SET
must be removed before sending requests to the camera HAL. This is so
that camera HALs built with older versions of VNDK which don't have this
key defined do not fail validate_camera_metadata_structure().

Bug: 198535636

Test: Vendor Testing
Test: Camera CTS

Change-Id: I418831008c39a14b940b909da81b508c2f9b0f0d
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2 files changed