[Android WebAPK] Delay locking screen orientation for new-style WebAPKs 1/2
Android throws an IllegalStateException when Activity#setRequestedOrientation() while the activity is translucent. This CL: - Delays setting the screen orientation in WebappActivity till the activity's translucency is removed - Adds a method to SplashscreenObserver to notify that translucency was removed. NOPRESUBMIT=true BUG=957835 Change-Id: I5971ec6b97f6ad50f71dd6e87f3fd19ecb7681db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1589105 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#659046}
Showing
Please register or sign in to comment