Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 08e21e63 authored by Joy Yoonhyung Lee's avatar Joy Yoonhyung Lee Committed by Android Build Cherrypicker Worker
Browse files

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
parent 245dead4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment