DO NOT MERGE Wait for broadcasts after creating a user.

Currently it is possible that user state is not fully written
to disk before reboot, which causes failure.

Bug: 113074454
Test: cts-tradefed run commandAndExit cts-dev -a armeabi-v7a -m CtsDevicePolicyManagerTestCases
      -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTestApi25#testResetPasswordFbe
Change-Id: I047fb0a656b705426ac09d42abc124ad23cc186b
2 files changed