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

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

Change-Id: Ic25b4e765f6612409aa840c7e4dc392d99fb254a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-08-24 01:42:59 +00:00 committed by Automerger Merge Worker
commit e546038cdf

View File

@ -26,6 +26,7 @@ import android.os.ParcelFileDescriptor;
import android.util.Log;
import java.io.FileNotFoundException;
import java.util.Arrays;
import javax.annotation.Nullable;
@ -62,7 +63,8 @@ public class DownloadManagerWrapper {
// 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);
}
}