diff options
author | 2023-01-31 16:14:34 -0800 | |
---|---|---|
committer | 2023-01-31 16:26:34 -0800 | |
commit | 20b6d89116575635c8f474fcea17b83a7f6ca8bf (patch) | |
tree | 7e042adf89b729ccccce83d85b6b4e30065a6fb5 | |
parent | 0c923f3db49a3ce3e4981178350e7704873411dc (diff) |
Add CTS coverage for CallExceptions
changes:
- remove CallException(String)
- TSW will propogate the CallException
- All VoIP transactions do not use RESULT_FAILED
- CTS coverage for some CallExceptions
bug: 264468805
Test: CTS
Change-Id: I11140ad39b610ec24ed3894cccbdc6b17bfec626
-rw-r--r-- | core/api/current.txt | 1 | ||||
-rw-r--r-- | telecomm/java/android/telecom/CallException.java | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 978713abe84d..94a3ddd58c5f 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -41460,7 +41460,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 0b0de6bd1660..d191593be284 100644 --- a/telecomm/java/android/telecom/CallException.java +++ b/telecomm/java/android/telecom/CallException.java @@ -116,17 +116,6 @@ public final class CallException extends RuntimeException implements Parcelable } /** - * 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 * * @param message related to why the exception was created |