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

Commit 56ac636a authored by Tony Mak's avatar Tony Mak
Browse files

set the error msg to the super constructor

Flag: android.app.appfunctions.flags.enable_app_function_manager
Test: cts
Bug: 357551503
Change-Id: I399d1c8cfc4896fbce7bfe44555070f389bb6946
parent fdd0e6bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -141,6 +141,7 @@ public final class AppFunctionException extends Exception implements Parcelable
     */
    public AppFunctionException(
            @ErrorCode int errorCode, @Nullable String errorMessage, @NonNull Bundle extras) {
        super(errorMessage);
        mErrorCode = errorCode;
        mErrorMessage = errorMessage;
        mExtras = Objects.requireNonNull(extras);
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ public final class AppFunctionException extends Exception {

    public AppFunctionException(
            int errorCode, @Nullable String errorMessage, @NonNull Bundle extras) {
        super(errorMessage);
        mErrorCode = errorCode;
        mErrorMessage = errorMessage;
        mExtras = extras;