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>