sdm845-common: lights: Make notification led priority > battery led one
Change-Id: Ibece77fb3495f9add70668d8ca0e74a8fe66d83a
This commit is contained in:
parent
63c3a95b45
commit
1ef6a00e0b
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ static int rgbToBrightness(const LightState& state) {
|
|||
Light::Light() {
|
||||
mLights.emplace(Type::ATTENTION, std::bind(&Light::handleRgb, this, std::placeholders::_1, 0));
|
||||
mLights.emplace(Type::BACKLIGHT, std::bind(&Light::handleBacklight, this, std::placeholders::_1));
|
||||
mLights.emplace(Type::BATTERY, std::bind(&Light::handleRgb, this, std::placeholders::_1, 1));
|
||||
mLights.emplace(Type::NOTIFICATIONS, std::bind(&Light::handleRgb, this, std::placeholders::_1, 2));
|
||||
mLights.emplace(Type::BATTERY, std::bind(&Light::handleRgb, this, std::placeholders::_1, 2));
|
||||
mLights.emplace(Type::NOTIFICATIONS, std::bind(&Light::handleRgb, this, std::placeholders::_1, 1));
|
||||
}
|
||||
|
||||
void Light::handleBacklight(const LightState& state) {
|
||||
|
|
Loading…
Reference in a new issue