Bug 877903 - Let apps specifying its orientation as landscape open in landscape-primary
             * Open app by real device orientation
             * Refactor setAppSize and rotateTransition to AppWindow