[Android WebAPK] Fix showing lightweight FRE on WebAPK launch
Previously, if a user: - with the --enable-lightweight-fre command line flag - who has not previously gone through the first run experience tried to launch a WebAPK the WebAPK did not launch and the FRE was not shown. This was occurring due to Intent.FLAG_ACTIVITY_NEW_TASK not being set as part of the FRE launch intent. (The caller is WebappLauncherActivity). This CL: - Makes LightweightFirstRunActivity "singleInstance" like FirstRunActivity - Removes LightweightFirstRunActivity-only logic which finishes the current LightweightFirstRunActivity if one is already running BUG=738133 Change-Id: Ifff19eb505f91efa5ea38ba2069f6159be7e7d4f Reviewed-on: https://chromium-review.googlesource.com/563864Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Ganggui Tang <gogerald@chromium.org> Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#486840}
Showing
Please register or sign in to comment