From 46461c142d32437c99776062682cf6c65fcaf9ab Mon Sep 17 00:00:00 2001 From: Grant Menke Date: Thu, 5 Sep 2024 16:12:31 -0700 Subject: [PATCH] Updated relevant aidl to pass current user when setting PhoneAcctSuggSrvc. This CL updates the relevant Telecom Service aidl to ensure the current primary user can be passed when setting the PhoneAccountSuggestionService for Telecom CTS test purposes. In HSUM mode, this should be user 10 and in non HSUM mode this should be user 0. Without this change, PhoneAccountSuggestionServiceTest tests were failing in HSUM mode. Test: atest PhoneAccountSuggestionServiceTest Bug: 358587742 Flag: TEST_ONLY Change-Id: I81431805da813c48ab2ef776e121a60b59abec63 --- .../java/com/android/internal/telecom/ITelecomService.aidl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl index 112471b2af57..c85374e0b660 100644 --- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl +++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl @@ -376,7 +376,8 @@ interface ITelecomService { */ void requestLogMark(in String message); - void setTestPhoneAcctSuggestionComponent(String flattenedComponentName); + void setTestPhoneAcctSuggestionComponent(String flattenedComponentName, + in UserHandle userHandle); void setTestDefaultCallScreeningApp(String packageName);