diff options
author | 2016-02-24 16:24:28 +0000 | |
---|---|---|
committer | 2016-02-24 16:24:29 +0000 | |
commit | dbdca5b29989ce2c0cacfeea99db03b799cc3fb7 (patch) | |
tree | a682fbafa8c7f3051af3bbc4bcb2949d70404644 | |
parent | 6a723f73bde3174ab83956804e22ef56c6ace581 (diff) | |
parent | d49095d1e44d7b2535635fade06063c8fe127d79 (diff) |
Merge "Fix error formatting for copy/move/delete failures." into nyc-dev
-rw-r--r-- | packages/DocumentsUI/src/com/android/documentsui/services/ResourceException.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/DocumentsUI/src/com/android/documentsui/services/ResourceException.java b/packages/DocumentsUI/src/com/android/documentsui/services/ResourceException.java index 9c6b51c62a2c..7d3d91a2d50d 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/services/ResourceException.java +++ b/packages/DocumentsUI/src/com/android/documentsui/services/ResourceException.java @@ -24,11 +24,11 @@ public class ResourceException extends Exception { } public ResourceException(String message, Uri uri1, Exception e) { - super(message.format(uri1.toString()), e); + super(String.format(message, uri1.toString()), e); } public ResourceException(String message, Uri uri1, Uri uri2, Exception e) { - super(message.format(uri1.toString(), uri2.toString()), e); + super(String.format(message, uri1.toString(), uri2.toString()), e); } public ResourceException(String message) { @@ -36,7 +36,7 @@ public class ResourceException extends Exception { } public ResourceException(String message, Uri uri1) { - super(message.format(uri1.toString())); + super(String.format(message, uri1.toString())); } public ResourceException(String message, Uri uri1, Uri uri2) { |