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

Commit 145cbd8f authored by Nathan Harold's avatar Nathan Harold Committed by Automerger Merge Worker
Browse files

Merge "Expose Constructor for ModemActivityInfoException" am: 5887444f

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960939

Change-Id: Ia34ddf4ce1376667bb480859abc4e82d6330637b
parents 93be545c 5887444f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12361,6 +12361,7 @@ package android.telephony {
  }
  public static class TelephonyManager.ModemActivityInfoException extends java.lang.Exception {
    ctor public TelephonyManager.ModemActivityInfoException(int);
    method public int getErrorCode();
    field public static final int ERROR_INVALID_INFO_RECEIVED = 2; // 0x2
    field public static final int ERROR_MODEM_RESPONSE_ERROR = 3; // 0x3
+5 −1
Original line number Diff line number Diff line
@@ -11487,7 +11487,11 @@ public class TelephonyManager {
        private final int mErrorCode;
        /** @hide */
        /**
         * An exception with ModemActivityInfo specific error codes.
         *
         * @param errorCode a ModemActivityInfoError code.
         */
        public ModemActivityInfoException(@ModemActivityInfoError int errorCode) {
            mErrorCode = errorCode;
        }