From 849c980804651470c443287de0378f72edb59fdc Mon Sep 17 00:00:00 2001 From: Peiyong Lin Date: Thu, 28 Feb 2019 08:36:57 -0800 Subject: [PATCH] [composer] Remove implication. The spec of setLayerDataspace never specifies the types of layer it should be call on, however, the spec has the implication that this method will only work for layers with buffer, which is mis-leading. This patch changes the wording of setLayerDataspace spec, removes the implication. Note that this change won't break backward compatability. BUG: 126713799 Test: N/A Change-Id: I97f22469897cb687dcb64a3d419bcb48a3668e5a --- current.txt | 1 + graphics/composer/2.1/IComposerClient.hal | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/current.txt b/current.txt index 71be363a7b..757c17342e 100644 --- a/current.txt +++ b/current.txt @@ -394,6 +394,7 @@ f8a19622cb0cc890913b1ef3e32b675ffb26089a09e02fef4056ebad324d2b5d android.hardwar da33234403ff5d60f3473711917b9948e6484a4260b5247acdafb111193a9de2 android.hardware.configstore@1.0::ISurfaceFlingerConfigs 21165b8e30c4b2d52980e4728f661420adc16e38bbe73476c06b2085be908f4c android.hardware.gnss@1.0::IGnssCallback d702fb01dc2a0733aa820b7eb65435ee3334f75632ef880bafd2fb8803a20a58 android.hardware.gnss@1.0::IGnssMeasurementCallback +d4fea995378bb4f421b4e24ccf68cad2734ab07fe4f874a126ba558b99df5766 android.hardware.graphics.composer@2.1::IComposerClient b7ecf29927055ec422ec44bf776223f07d79ad9f92ccf9becf167e62c2607e7a android.hardware.keymaster@4.0::IKeymasterDevice 574e8f1499436fb4075894dcae0b36682427956ecb114f17f1fe22d116a83c6b android.hardware.neuralnetworks@1.0::IPreparedModel 417ab60fe1ef786778047e4486f3d868ebce570d91addd8fe4251515213072de android.hardware.neuralnetworks@1.0::types diff --git a/graphics/composer/2.1/IComposerClient.hal b/graphics/composer/2.1/IComposerClient.hal index 5ad46f0113..e036ce974b 100644 --- a/graphics/composer/2.1/IComposerClient.hal +++ b/graphics/composer/2.1/IComposerClient.hal @@ -992,10 +992,10 @@ interface IComposerClient { * * setLayerDataspace(Dataspace dataspace); * - * Sets the dataspace that the current buffer on this layer is in. + * Sets the dataspace of the layer. * - * The dataspace provides more information about how to interpret the - * buffer contents, such as the encoding standard and color transform. + * The dataspace provides more information about how to interpret the buffer + * or solid color, such as the encoding standard and color transform. * * See the values of Dataspace for more information. *