Backed out changeset a906d38b7c07 (bug 1273079) for bustage. r=backout

This commit is contained in:
Sebastian Hengst 2016-05-19 15:10:49 +02:00
Родитель 93dae42bdc
Коммит 2b06d394ac
3 изменённых файлов: 6 добавлений и 7 удалений

Просмотреть файл

@ -553,8 +553,7 @@ ScreenOrientation::UpdateActiveOrientationLock(ScreenOrientationInternal aOrient
if (aOrientation == eScreenOrientation_None) {
hal::UnlockScreenOrientation();
} else {
bool rv = hal::LockScreenOrientation(aOrientation);
NS_WARN_IF_FALSE(rv, "Lock screen failed!");
hal::LockScreenOrientation(aOrientation);
}
}

Просмотреть файл

@ -394,7 +394,7 @@ void NotifyScreenConfigurationChange(const hal::ScreenConfiguration& aScreenConf
* Lock the screen orientation to the specific orientation.
* @return Whether the lock has been accepted.
*/
MOZ_MUST_USE bool LockScreenOrientation(const dom::ScreenOrientationInternal& aOrientation);
bool LockScreenOrientation(const dom::ScreenOrientationInternal& aOrientation);
/**
* Unlock the screen orientation.
@ -438,7 +438,7 @@ void NotifySwitchStateFromInputDevice(hal::SwitchDevice aDevice,
*
* Currently, there can only be 0 or 1 alarm observers.
*/
MOZ_MUST_USE bool RegisterTheOneAlarmObserver(hal::AlarmObserver* aObserver);
bool RegisterTheOneAlarmObserver(hal::AlarmObserver* aObserver);
/**
* Unregister the alarm observer. Doing so will implicitly cancel any
@ -465,7 +465,7 @@ void NotifyAlarmFired();
* This API is currently only allowed to be used from non-sandboxed
* contexts.
*/
MOZ_MUST_USE bool SetAlarm(int32_t aSeconds, int32_t aNanoseconds);
bool SetAlarm(int32_t aSeconds, int32_t aNanoseconds);
/**
* Set the priority of the given process.
@ -585,7 +585,7 @@ hal::FMRadioSettings GetFMBandSettings(hal::FMRadioCountry aCountry);
/**
* Enable RDS data reception
*/
MOZ_MUST_USE bool EnableRDS(uint32_t aMask);
bool EnableRDS(uint32_t aMask);
/**
* Disable RDS data reception

Просмотреть файл

@ -67,7 +67,7 @@ void DisableSwitchNotifications(hal::SwitchDevice aDevice);
/**
* Enable alarm notifications from the backend.
*/
MOZ_MUST_USE bool EnableAlarm();
bool EnableAlarm();
/**
* Disable alarm notifications from the backend.