[Android WebAPK] Change relaunch logic in H2OTransparentLauncherActivity
This CL changes the behaviour of H2OTransparentLauncherActivity#onHostBrowserSelected() in the edge case (not sure if the edge case is possible) that both H2OMainActivity and SplashActivity are enabled. When both H2OMainActivity and SplashActivity are enabled, this CL changes the behaviour of H2OTransparentLauncherActivity#onHostBrowserSelected() to do a normal launch instead of relaunching the WebAPK with the goal of changing the enabled component. This change also brings the code in line with the code comments. BUG=817263 Change-Id: Iedfdabce4245eaf0db689ac2d4968b967096eaab Reviewed-on: https://chromium-review.googlesource.com/c/1314615Reviewed-by:Xi Han <hanxi@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#605014}
Showing
Please register or sign in to comment