[Android WebAPK] Switch N+ behaviour to be the default for new-style WebAPKs
This CL changes the activity which is launched on first run for new-style WebAPKs. The CL changes the default to H2OOpaqueMainActivity which has a solid color background theme. This change means: - On N+, users will get a faster pixels-on-screen first run experience for WebAPKs that they install - Pre-N, on first run, H2OOpaqueMainActivity will be launched, finished, and the app will be relaunched with H2OMainActivity. The relaunch is necessary in order to switch which android.intent.action.MAIN is enabled. BUG=817263 Change-Id: I7728a26e9d41024fdc53db97b97116c863b449b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638237Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#665116}
Showing
Please register or sign in to comment