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

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

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