Modified ShortcutManagerMultiuserTest.testSecondaryUser to use existing
secondary user if possible and switch to initial user at tearDown
Devices supporting multiuser may run CTS on secondary user and creating
a new secondary user is not necessary for this test. Also the test was
switching to user 0 on tearDown, which may not be the initial user
before running the test.
Bug: 137817896
Bug: 130183499
Test: atest android.content.pm.cts.shortcuthost.ShortcutManagerMultiuserTest#testSecondaryUser
Change-Id: Ie3437657a6ecd0be9b9fb11b5acbd440adf0b934
Merged-In: Ie3437657a6ecd0be9b9fb11b5acbd440adf0b934
2 files changed