[automerger skipped] Check mode/boost index before accessing cached support value am: 20b47da57a am: 6f45102db0 -s ours

am skip reason: Change-Id I345d9ff828021da35556f2d51da512840dda8026 with SHA-1 d46c53b8e4 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13164079

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id13ec6be237c849b72dbcfea6acb129d308c84f7