Bug 840147 & Bug 877903 - (Part2) Open app by real device orientation