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

Commit 7b76e412 authored by Leon Luu's avatar Leon Luu Committed by android-build-merger
Browse files

Use generic mmi error string for UT exceptions

am: 13fd98d2

Change-Id: I6abfa88dab8a5d8fb85593a4b589bbd6eb1c6d99
parents b9b48d23 13fd98d2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.ims;
import java.util.HashMap;
import java.util.Map;

import android.content.res.Resources;
import android.os.AsyncResult;
import android.os.Bundle;
import android.os.Message;
@@ -539,7 +540,8 @@ public class ImsUt implements ImsUtInterface {
        // If ImsReasonInfo object does not have a String error code, use a
        // default error string.
        if (error.mExtraMessage == null) {
            errorString = new String("IMS UT exception");
            errorString = Resources.getSystem().getString(
                    com.android.internal.R.string.mmiError);
        }
        else {
            errorString = new String(error.mExtraMessage);