Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
This commit is contained in:
@@ -105,6 +105,26 @@ GetCurrentBatteryInformation(hal::BatteryInformation* aBatteryInfo)
|
||||
bridge->GetCurrentBatteryInformation(aBatteryInfo);
|
||||
}
|
||||
|
||||
bool
|
||||
GetScreenEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
SetScreenEnabled(bool enabled)
|
||||
{}
|
||||
|
||||
double
|
||||
GetScreenBrightness()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
SetScreenBrightness(double brightness)
|
||||
{}
|
||||
|
||||
} // hal_impl
|
||||
} // mozilla
|
||||
|
||||
|
||||
Reference in New Issue
Block a user