This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] Implement ScreenOrientation.unlock align with spec
This is for compliance with ScreenOrientation (https://w3c.github.io/screen-orientation). When unlock screen orientation, it should lock the orientation to default orientation. Previous implementation is to set the orientation to "unspecified", which is not fully aligned with spec. Instead, read the configuration from the activity metadata in AndroidManifest.xml and set the orientation accordingly. BUG=394214 Review URL: https://codereview.chromium.org/399553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284396 0039d316-1c4b-4281-b951-d872f2087c98 (cherry picked from commit 11420f5)
- Loading branch information