From 1b4eb23b7247992dcf52ae65a2ce7a4795455462 Mon Sep 17 00:00:00 2001 From: Sahil Somani Date: Fri, 26 Aug 2022 14:57:59 -0700 Subject: [PATCH] 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 --- light/aidl/default/Lights.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light/aidl/default/Lights.h b/light/aidl/default/Lights.h index d6d5bf1ed3..cba147f78d 100644 --- a/light/aidl/default/Lights.h +++ b/light/aidl/default/Lights.h @@ -26,7 +26,7 @@ namespace light { // Default implementation that reports a few placeholder lights. class Lights : public BnLights { ndk::ScopedAStatus setLightState(int id, const HwLightState& state) override; - ndk::ScopedAStatus getLights(std::vector* types) override; + ndk::ScopedAStatus getLights(std::vector* lights) override; }; } // namespace light