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

Commit 612ddf78 authored by Thomas Stuart's avatar Thomas Stuart Committed by Android (Google) Code Review
Browse files

Merge "Add CTS coverage for CallExceptions"

parents 90ce8c99 20b6d891
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -41699,7 +41699,6 @@ package android.telecom {
  }
  public final class CallException extends java.lang.RuntimeException implements android.os.Parcelable {
    ctor public CallException(@Nullable String);
    ctor public CallException(@Nullable String, int);
    method public int describeContents();
    method public int getCode();
+0 −11
Original line number Diff line number Diff line
@@ -115,17 +115,6 @@ public final class CallException extends RuntimeException implements Parcelable
    public @interface CallErrorCode {
    }

    /**
     * Constructor for a new CallException when only message can be specified.
     * {@code CODE_ERROR_UNKNOWN} will be default code returned when calling {@code getCode}
     *
     * @param message related to why the exception was created
     */
    public CallException(@Nullable String message) {
        super(getMessage(message, CODE_ERROR_UNKNOWN));
        mMessage = message;
    }

    /**
     * Constructor for a new CallException that has a defined error code in this class
     *