OSDN Git Service

Remove non-localized message
authorShuto Nagamatsu <shuto.nagamatsu@sony.com>
Thu, 23 Mar 2017 21:55:01 +0000 (06:55 +0900)
committerShuto Nagamatsu <shuto.nagamatsu@sony.com>
Thu, 23 Mar 2017 23:03:49 +0000 (08:03 +0900)
Remove non-localized english "code" from ImsException constructor.
Non-localized message causes user confusion.

Bug: 32792378
Change-Id: I0c71c35e7830db7de5b1d041211de54c92285b4d

telephony/java/com/android/ims/ImsException.java

index 74b20f4..0e8bad7 100644 (file)
@@ -32,7 +32,7 @@ public class ImsException extends Exception {
     }
 
     public ImsException(String message, int code) {
-        super(message + ", code = " + code);
+        super(message + "(" + code + ")");
         mCode = code;
     }