Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar

This commit is contained in:
Mounir Lamouri
2012-09-19 17:28:16 +01:00
parent cae14080ff
commit c91a040038
8 changed files with 44 additions and 42 deletions

View File

@@ -189,10 +189,10 @@ LockScreenOrientation(const ScreenOrientation& aOrientation)
// The Android backend only supports these orientations.
case eScreenOrientation_PortraitPrimary:
case eScreenOrientation_PortraitSecondary:
case eScreenOrientation_Portrait:
case eScreenOrientation_PortraitPrimary | eScreenOrientation_PortraitSecondary:
case eScreenOrientation_LandscapePrimary:
case eScreenOrientation_LandscapeSecondary:
case eScreenOrientation_Landscape:
case eScreenOrientation_LandscapePrimary | eScreenOrientation_LandscapeSecondary:
bridge->LockScreenOrientation(aOrientation);
return true;
default: