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

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

Change-Id: I8c9cc9d63affa572ca6bf79ff156f69f7ee96db1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>