From 36ad119251e93b4f3958f500211440f5ba35bc5c Mon Sep 17 00:00:00 2001 From: Emilian Peev Date: Fri, 2 Mar 2018 12:38:30 +0000 Subject: [PATCH] Camera: Don't limit the camera provider types Camera provider types should not be limited to a particular set of pre-defined values. All providers will be treated equally by camera framework regardless of their specific type. Bug: 73738052 Test: run vts --skip-all-system-status-check --skip-preconditions --primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: I379c015d9e2fc4f68a7ad3ae7cd92b9d230dea33 --- camera/provider/2.4/ICameraProvider.hal | 3 ++- current.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/camera/provider/2.4/ICameraProvider.hal b/camera/provider/2.4/ICameraProvider.hal index abb63661e9..8773bc0819 100644 --- a/camera/provider/2.4/ICameraProvider.hal +++ b/camera/provider/2.4/ICameraProvider.hal @@ -35,7 +35,8 @@ import android.hardware.camera.device@3.2::ICameraDevice; * where * - / is the provider HAL HIDL version, * - is the type of devices this provider knows about, such as - * "internal", "legacy", "external", or "remote" + * "internal", "legacy", "external", "remote" etc. The camera framework + * must not differentiate or chage its behavior based on the specific type. * - is a non-negative integer starting from 0 to disambiguate * between multiple HALs of the same type. * diff --git a/current.txt b/current.txt index 24321cc54c..1bc437c5db 100644 --- a/current.txt +++ b/current.txt @@ -251,7 +251,7 @@ c8bc853546dd55584611def2a9fa1d99f657e3366c976d2f60fe6b8aa6d2cb87 android.hardwar # ABI preserving changes to HALs during Android P cf72ff5a52bfa4d08e9e1000cf3ab5952a2d280c7f13cdad5ab7905c08050766 android.hardware.camera.metadata@3.2::types -7b4723305354193b889a24153e1292fec62d5a5127bdfba08a5a27440f092de9 android.hardware.camera.provider@2.4::ICameraProvider +3902efc42097cba55f0655aa389e052ea70164e99ced1a6d1ef53dafc13f7650 android.hardware.camera.provider@2.4::ICameraProvider 6fa9804a17a8bb7923a56bd10493a5483c20007e4c9026fd04287bee7c945a8c android.hardware.gnss@1.0::IGnssCallback fb92e2b40f8e9d494e8fd3b4ac18499a3216342e7cff160714c3bbf3660b6e79 android.hardware.gnss@1.0::IGnssConfiguration 251594ea9b27447bfa005ebd806e58fb0ae4aad84a69938129c9800ec0c64eda android.hardware.gnss@1.0::IGnssMeasurementCallback