diff --git a/core/api/current.txt b/core/api/current.txt index 23c924ccc81a0..dfc26028433bd 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -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(); diff --git a/telecomm/java/android/telecom/CallException.java b/telecomm/java/android/telecom/CallException.java index 0b0de6bd16606..d191593be2847 100644 --- a/telecomm/java/android/telecom/CallException.java +++ b/telecomm/java/android/telecom/CallException.java @@ -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 *