Skip to content

Commit

Permalink
[cb-6619][amazon-fireos] userLandscape is not supported on Kindle Fir…
Browse files Browse the repository at this point in the history
…e OS

changed userLandscape to landscape and userPortrait to portrait.
  • Loading branch information
Archana Naik committed May 6, 2014
1 parent b2e0178 commit 74ae03f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cordova-lib/src/cordova/metadata/amazon_fireos_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ module.exports.prototype = {
delete act.attrib["android:screenOrientation"];
break;
case 'portrait':
act.attrib["android:screenOrientation"] = 'userPortrait';
act.attrib["android:screenOrientation"] = 'portrait';
break;
case 'landscape':
act.attrib["android:screenOrientation"] = 'userLandscape';
act.attrib["android:screenOrientation"] = 'landscape';
}
}

Expand Down

0 comments on commit 74ae03f

Please sign in to comment.