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
This commit is contained in:
parent
73754429ee
commit
1b4eb23b72
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ namespace light {
|
||||||
// Default implementation that reports a few placeholder lights.
|
// Default implementation that reports a few placeholder lights.
|
||||||
class Lights : public BnLights {
|
class Lights : public BnLights {
|
||||||
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;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace light
|
} // namespace light
|
||||||
|
|
Loading…
Reference in a new issue