Bug 1545429 - Avoid passing unsupported Android screen orientation flag combinations to Gecko. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D36351
This commit is contained in:
@@ -668,8 +668,6 @@ uint32_t AndroidBridge::GetScreenOrientation() {
|
||||
|
||||
int16_t orientation = GeckoAppShell::GetScreenOrientation();
|
||||
|
||||
if (!orientation) return hal::eScreenOrientation_None;
|
||||
|
||||
return static_cast<hal::ScreenOrientation>(orientation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user