Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5ecfc15 authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Filter readoutTimestamp for older vndk

readoutTimestamp was added in HAL version 3.8. Filter it for older vndk
versions.

Test: Run VtsHalCameraServiceV2_0TargetTest on GSI build
Bug: 259932518
Bug: 259367770
Change-Id: I0aed8072ea3884a50c3874b352035a4c6efb4269
parent 2cc87ff6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ std::map<int, std::vector<camera_metadata_tag>> static_api_level_to_keys{
          ANDROID_REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP,
          ANDROID_REQUEST_RECOMMENDED_TEN_BIT_DYNAMIC_RANGE_PROFILE,
          ANDROID_SCALER_AVAILABLE_STREAM_USE_CASES,
          ANDROID_SENSOR_READOUT_TIMESTAMP,
        } },
      {34, {
          ANDROID_CONTROL_AUTOFRAMING_AVAILABLE,