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
diff --git a/tests/src/com/android/server/telecom/tests/CallsManagerTest.java b/tests/src/com/android/server/telecom/tests/CallsManagerTest.java
index 34d8830..9eaf488 100644
--- a/tests/src/com/android/server/telecom/tests/CallsManagerTest.java
+++ b/tests/src/com/android/server/telecom/tests/CallsManagerTest.java
@@ -199,7 +199,8 @@
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")