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
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user