[FirstRun] Waiting until policy loaded before leaving welcome page
Wait on the welcome page if policy exists on device. This applies to all the FRE scenarios, and paves the road for the following pages to load enterprise policies without additional logics to wait on loading. This change also makes |BrowserSignin| policy works as expected. First run fragments will be added to pager after policy services is initialized, so SignInManager#isSyncAllowed will be populated with value that matches the policy setting. If the |BrowserSignin| is set to disabled, the sign in fragment will not be added into FRE. Change-Id: I88942f50093bc77432981ebc78042d777bb0bcaf Bug: 1155715 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2601329 Commit-Queue: Wenyu Fu <wenyufu@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Steven Holte <holte@chromium.org> Reviewed-by:
Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#843060}
Showing
Please register or sign in to comment