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

Commit 8dd3ce7f authored by Grant Menke's avatar Grant Menke
Browse files

Use User ID 10 for second user in PhoneAccountRegistrarTest.

When creating a list of users in PhoneAccountRegistrarTest#testCleanUpOrphanAccounts, the user IDs 0 and 1000 were being used. In HSUM mode, the user IDs are 0 and 10 out of the box so using IDs 0 and 1000 was causing this test to fail. I have updated the test to use IDs 0 and 10 instead.

Test: PhoneAccountRegistrarTest#testCleanUpOrphanAccounts
Fixes: 383987595
Flag: TEST_ONLY
Change-Id: If21fc89f754bdaa7db399579b03eb74a5d8d410f
parent b41d71a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1307,7 +1307,7 @@ public class PhoneAccountRegistrarTest extends TelecomTestCase {
        UserManager userManager = mContext.getSystemService(UserManager.class);

        List<UserHandle> users = Arrays.asList(new UserHandle(0),
                new UserHandle(1000));
                new UserHandle(10));

        PhoneAccount pa1 = new PhoneAccount.Builder(
                new PhoneAccountHandle(new ComponentName(PACKAGE_1, COMPONENT_NAME), "1234",