Merge "Fix array-related errorprone warnings" am: 370d41de92 am: 3a06d6180b am: e546038cdf

Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/2186538

Change-Id: I609ca003a48f3eb2a323ed456fc54d5754bd694f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/java/src/com/android/inputmethod/dictionarypack/DownloadManagerWrapper.java b/java/src/com/android/inputmethod/dictionarypack/DownloadManagerWrapper.java
index 6f6b026..e2e9a7e 100644
--- a/java/src/com/android/inputmethod/dictionarypack/DownloadManagerWrapper.java
+++ b/java/src/com/android/inputmethod/dictionarypack/DownloadManagerWrapper.java
@@ -26,6 +26,7 @@
 import android.util.Log;
 
 import java.io.FileNotFoundException;
+import java.util.Arrays;
 
 import javax.annotation.Nullable;
 
@@ -62,7 +63,8 @@
             // We couldn't remove the file from DownloadManager. Apparently, the database can't
             // be opened. It may be a problem with file system corruption. In any case, there is
             // not much we can do apart from avoiding crashing.
-            Log.e(TAG, "Can't remove files with ID " + ids + " from download manager", e);
+            Log.e(TAG, "Can't remove files with ID " + Arrays.toString(ids) +
+                    " from download manager", e);
         }
     }