summaryrefslogtreecommitdiff
path: root/telephony/java/android/service
diff options
context:
space:
mode:
authorAlex Lin <wwl@google.com>2020-03-17 23:20:11 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-17 23:20:11 +0000
commit1fb2e3e4fc7a7df61f87aefc39094bd453752427 (patch)
tree7175d6f32824cfed323ab8234929afb4c44aa7c9 /telephony/java/android/service
parentd6e6578aab6940a1df49bd6354b25b8aaef9dcd3 (diff)
parent2c3cc82819e38d97e3eb9a1efe43fc55f0e2d4e1 (diff)
Update EuiccService encodeSmdxSubjectAndReasonCode am: 2c3cc82819
Change-Id: I5a8c7c0e088a01755f67a1f20d1b5a92caadfb66
Diffstat (limited to 'telephony/java/android/service')
-rw-r--r--telephony/java/android/service/euicc/EuiccService.java5
1 files changed, 2 insertions, 3 deletions
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;