From 77c5c4e8b1960a187fcc37d01f3edb9658c1bac5 Mon Sep 17 00:00:00 2001 From: Shuzhen Wang Date: Wed, 12 Dec 2018 08:49:00 -0800 Subject: [PATCH] Camera: Clarify configureStreams doc Test: Compile Change-Id: Idbb7ed8f8dd0a1ebe1d5227446ec7170fec3ec4a Merged-In: Idbb7ed8f8dd0a1ebe1d5227446ec7170fec3ec4a --- camera/device/3.2/ICameraDeviceSession.hal | 10 +++++----- current.txt | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/camera/device/3.2/ICameraDeviceSession.hal b/camera/device/3.2/ICameraDeviceSession.hal index 477a3cc5d0..e62dc072cd 100644 --- a/camera/device/3.2/ICameraDeviceSession.hal +++ b/camera/device/3.2/ICameraDeviceSession.hal @@ -91,11 +91,11 @@ interface ICameraDeviceSession { * later configureStreams() call by the framework, and all the gralloc * buffers for it must be freed after the configureStreams() call returns. * - * If the stream is new, the maxBuffer field of the stream structure must be - * set to 0. The usage must be set to the consumer usage flags. The HAL - * device must set these fields in the configureStreams() return values. - * These fields are then used by the framework and the platform gralloc - * module to allocate the gralloc buffers for each stream. + * If the stream is new, the client must set the consumer usage flags in + * requestedConfiguration. Upon return, the HAL device must set producerUsage, + * maxBuffers, and other fields in the configureStreams() return values. These + * fields are then used by the framework and the platform gralloc module to + * allocate the gralloc buffers for each stream. * * Newly allocated buffers may be included in a capture request at any time * by the framework. Once a gralloc buffer is returned to the framework diff --git a/current.txt b/current.txt index f0082a310b..2e57febf17 100644 --- a/current.txt +++ b/current.txt @@ -385,6 +385,7 @@ cd4330c3196bda1d642a32abfe23a7d64ebfbda721940643af6867af3b3f0aa9 android.hardwar 10ff2fae516346b86121368ce5790d5accdfcb73983246b813f3d488b66db45a android.hardware.wifi.supplicant@1.1::ISupplicantStaNetwork # ABI preserving changes to HALs during Android Q +f72d23278af99a2f6a9c1d40352b67dbf1f582282f799f88f7235dc7c13892b5 android.hardware.camera.device@3.2::ICameraDeviceSession da33234403ff5d60f3473711917b9948e6484a4260b5247acdafb111193a9de2 android.hardware.configstore@1.0::ISurfaceFlingerConfigs 21165b8e30c4b2d52980e4728f661420adc16e38bbe73476c06b2085be908f4c android.hardware.gnss@1.0::IGnssCallback d702fb01dc2a0733aa820b7eb65435ee3334f75632ef880bafd2fb8803a20a58 android.hardware.gnss@1.0::IGnssMeasurementCallback