DO NOT MERGE: fillInputInfo: Guard against integer overflow. am: 669090928a

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

Change-Id: I96c0b8fc1df2479c4cd5a6f1d96a7bfef3410ddb