commit | 6382695852b15a67c6a83c4c71de7bb952b83446 | [log] [tgz] |
---|---|---|
author | Gabriel Biren <gbiren@google.com> | Mon May 15 20:36:51 2023 +0000 |
committer | Gabriel Biren <gbiren@google.com> | Mon May 15 20:40:03 2023 +0000 |
tree | ac0fb49b024d8c9514e9179c8407b4d865bb13bd | |
parent | 8c38be7ef4c43901d4e140cdce03ae898ec2f582 [diff] |
Use startActivityAsUser instead of startActivity in LegacySimpleDialogHandle. Bug: 282210693 Test: atest WifiDialogManagerTest Test: Manual Test 1. Start as the main user. 2. adb shell cmd wifi launch-dialog-simple -s \ -m testMessage \ -l https://www.google.com/ 0 4 3. Click the link. Ensure that Chrome opens. 4. Switch to a secondary user. 5. Repeat steps 2 and 3. Change-Id: If7151273d273ab6779454f6d92a7b28f3fdeed7c