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

Commit 2d78eb59 authored by Grant Menke's avatar Grant Menke
Browse files

Use ID 12 for WORK_HANDLE User ID in CallsManagerTest.

WORK_HANDLE was being initialized to User ID 10 in CallsManagerTest. This was causing some of the tests to fail on HSUM devices since on those devices there is an actual user with user ID 10. This CL uses user ID 12 instead to prevent confliction with the actual user 10 on HSUM devices.

Test: CallsManagerTest
Bug: 383203713
Flag: TEST_ONLY
Change-Id: I3a4b3cf9b9c27d58a308432379683fceed1e92c8
parent 1c7fbd70
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -199,7 +199,8 @@ public class CallsManagerTest extends TelecomTestCase {
    private static final PhoneAccountHandle SELF_MANAGED_2_HANDLE = new PhoneAccountHandle(
            ComponentName.unflattenFromString("com.baz/.Self2"), "Self2");
    private static final PhoneAccountHandle WORK_HANDLE = new PhoneAccountHandle(
            ComponentName.unflattenFromString("com.foo/.Blah"), "work", new UserHandle(10));
            ComponentName.unflattenFromString("com.foo/.Blah"), "work",
            new UserHandle(SECONDARY_USER_ID));
    private static final PhoneAccountHandle SELF_MANAGED_W_CUSTOM_HANDLE = new PhoneAccountHandle(
            new ComponentName(TEST_PACKAGE_NAME, "class"), "1", TEST_USER_HANDLE);
    private static final PhoneAccount SIM_1_ACCOUNT = new PhoneAccount.Builder(SIM_1_HANDLE, "Sim1")