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

Commit 20faafc4 authored by Alex Lin's avatar Alex Lin Committed by Automerger Merge Worker
Browse files

Update EuiccService encodeSmdxSubjectAndReasonCode am: 2c3cc828 am: 1fb2e3e4

Change-Id: I54d7779e0def1eda1b96edb2ae07d4f131e10871
parents 92b179aa 1fb2e3e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9969,7 +9969,7 @@ package android.service.euicc {
  public abstract class EuiccService extends android.app.Service {
    ctor public EuiccService();
    method public void dump(@NonNull java.io.PrintWriter);
    method public int encodeSmdxSubjectAndReasonCode(@Nullable String, @Nullable String) throws java.lang.IllegalArgumentException, java.lang.NumberFormatException, java.lang.UnsupportedOperationException;
    method public int encodeSmdxSubjectAndReasonCode(@NonNull String, @NonNull String);
    method @CallSuper public android.os.IBinder onBind(android.content.Intent);
    method public abstract int onDeleteSubscription(int, String);
    method public android.service.euicc.DownloadSubscriptionResult onDownloadSubscription(int, @NonNull android.telephony.euicc.DownloadableSubscription, boolean, boolean, @Nullable android.os.Bundle);
+2 −3
Original line number Diff line number Diff line
@@ -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;