mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00
Bug 722953 - "Cause hardware buttons to illuminate when button is pressed" [r=gal]
This commit is contained in:
parent
d265ec2005
commit
82ead30e4f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user