Description[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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284396
Patch Set 1 #
Total comments: 1
Patch Set 2 : Update for comments #Patch Set 3 : Put the setRequestOrientation to finally block #Patch Set 4 : update AUTHOR #
Messages
Total messages: 18 (0 generated)
|