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

Commit 5887444f authored by Nathan Harold's avatar Nathan Harold Committed by Gerrit Code Review
Browse files

Merge "Expose Constructor for ModemActivityInfoException"

parents dbe634a7 10fc6283
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;
        }