Bug 1194751 - Part 2. Remove unused nsIScreen::LockMinimumBrightness and related methods. r=snorp
It's not used anywhere in gecko or addons. Remove it will make removing PScreenManager easier. MozReview-Commit-ID: K3BHnktO7wU
This commit is contained in:
@@ -117,16 +117,6 @@ nsScreenAndroid::GetColorDepth(int32_t *aColorDepth)
|
||||
return GetPixelDepth(aColorDepth);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
nsScreenAndroid::ApplyMinimumBrightness(uint32_t aBrightness)
|
||||
{
|
||||
if (mDisplayType == DisplayType::DISPLAY_PRIMARY &&
|
||||
mozilla::jni::IsAvailable()) {
|
||||
java::GeckoAppShell::SetKeepScreenOn(aBrightness == BRIGHTNESS_FULL);
|
||||
}
|
||||
}
|
||||
|
||||
class nsScreenManagerAndroid::ScreenManagerHelperSupport final
|
||||
: public ScreenManagerHelper::Natives<ScreenManagerHelperSupport>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user