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>