sdm660-common: Rename Light HAL default implementation variable.

The Light HAL implements a function getLights that returns a vector
of HwLight objects. This vector is called "lights" in Lights.cpp,
but it is called "types" in Lights.h. Lights.h has been changed to
call the vector "lights".

Test: VtsHalLightTargetTest
Change-Id: I1e567d1454d42e3efc0186cde8340c32e7f3456e
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Sahil Somani 2022-08-26 14:57:59 -07:00 committed by pix106
parent ed16c44a31
commit 3d6b4409bf

View file

@ -32,7 +32,7 @@ class Lights : public BnLights {
public: public:
Lights(); Lights();
ndk::ScopedAStatus setLightState(int id, const HwLightState& state) override; ndk::ScopedAStatus setLightState(int id, const HwLightState& state) override;
ndk::ScopedAStatus getLights(std::vector<HwLight>* types) override; ndk::ScopedAStatus getLights(std::vector<HwLight>* lights) override;
private: private:
void setLightBacklight(int id, const HwLightState& state); void setLightBacklight(int id, const HwLightState& state);