[Android Refactor] Shorten FirstRunFlowSequencer#launch()
This CL makes FirstRunFlowSequencer#launch() shorter by extracting the logic to check whether the generic FRE is active into a separate function checkIsGenericFreActive(). This CL also changes maybeSwitchToTabbedMode() to only return whether the FRE should use tabbed mode and to not modify the FRE launch intent. This CL is in preparation to adding WebAPK-related complexity to FirstRunFlowSequencer#launch() BUG=None Change-Id: If3605de61905edde800129f2d5e36c572432566f Reviewed-on: https://chromium-review.googlesource.com/c/1355327 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Yusuf Ozuysal <yusufo@chromium.org> Cr-Commit-Position: refs/heads/master@{#612485}
Showing
Please register or sign in to comment