From 2c3cc82819e38d97e3eb9a1efe43fc55f0e2d4e1 Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Tue, 25 Feb 2020 17:34:20 -0800 Subject: Update EuiccService encodeSmdxSubjectAndReasonCode Update the method signature of encoding subject code and reasoncode Bug: 149216056 Test: atest EuiccService Change-Id: Ifb9c1a11f48e191f7d49384946f9fd78d81b84dc Merged-In: Ifb9c1a11f48e191f7d49384946f9fd78d81b84dc --- telephony/java/android/service/euicc/EuiccService.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'telephony/java/android/service') diff --git a/telephony/java/android/service/euicc/EuiccService.java b/telephony/java/android/service/euicc/EuiccService.java index 93155865c166..ae2652e6c229 100644 --- a/telephony/java/android/service/euicc/EuiccService.java +++ b/telephony/java/android/service/euicc/EuiccService.java @@ -327,9 +327,8 @@ public abstract class EuiccService extends Service { * @throws UnsupportedOperationException when sections has more than four layers (e.g 5.8.1.2) * or when an number is bigger than 15 */ - public int encodeSmdxSubjectAndReasonCode(@Nullable String subjectCode, - @Nullable String reasonCode) - throws NumberFormatException, IllegalArgumentException, UnsupportedOperationException { + public int encodeSmdxSubjectAndReasonCode(@NonNull String subjectCode, + @NonNull String reasonCode) { final int maxSupportedSection = 3; final int maxSupportedDigit = 15; final int bitsPerSection = 4; -- cgit v1.2.3