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

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

Merge "Expose Constructor for ModemActivityInfoException" am: 5887444f am:...

Merge "Expose Constructor for ModemActivityInfoException" am: 5887444f am: 145cbd8f am: c6461bb7

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

Change-Id: Ie2b01c3f591c7f5c1b92341b35b1088a5ea0a754
parents 5251903a c6461bb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12409,6 +12409,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;
        }