Bug 722953 - "Cause hardware buttons to illuminate when button is pressed" [r=gal]

This commit is contained in:
Chris Jones 2012-02-14 19:24:00 -08:00
parent 47690edd77
commit fd940540cc

View File

@ -412,6 +412,7 @@ SetScreenBrightness(double brightness)
aConfig.flashOnMS() = aConfig.flashOffMS() = 0;
aConfig.color() = color;
hal::SetLight(hal::eHalLightID_Backlight, aConfig);
hal::SetLight(hal::eHalLightID_Buttons, aConfig);
}
static light_device_t* sLights[hal::eHalLightID_Count]; // will be initialized to NULL