Send showNewUserDisclaimer broadcast when user switching
Previously, showNewUserDisclaimer broadcast is sent just after user unlocked. Since the new user is not yet ready to get broadcast messages at that time, it is failed to deliver the broadcast message to the target user. To make the new user get the message and show a notification correctly, send the broadcast when the user is switching to foreground. Bug: 347611453 Test: Run CTS-Verifier "Check new user disclaimer" test and see a notification and a dialog are shown. Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:88578d5b98b034e8bfd1ae22400f5ad17b4a3a7e) Merged-In: I00eb7e02b2d348cb6baae74a48ef170372fde385 Change-Id: I00eb7e02b2d348cb6baae74a48ef170372fde385
Loading
Please register or sign in to comment