From 3d6b4409bffdfb9031535a11775273daa7d2fdb4 Mon Sep 17 00:00:00 2001 From: Sahil Somani Date: Fri, 26 Aug 2022 14:57:59 -0700 Subject: [PATCH] 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 --- light/aidl/Lights.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light/aidl/Lights.h b/light/aidl/Lights.h index 1814e089..f6346a18 100644 --- a/light/aidl/Lights.h +++ b/light/aidl/Lights.h @@ -32,7 +32,7 @@ class Lights : public BnLights { public: Lights(); ndk::ScopedAStatus setLightState(int id, const HwLightState& state) override; - ndk::ScopedAStatus getLights(std::vector* types) override; + ndk::ScopedAStatus getLights(std::vector* lights) override; private: void setLightBacklight(int id, const HwLightState& state);