[automerger skipped] Use a constant-time MAX function am: f06684acab am: 12ee974557 am: 6b94cd60e2 am: 22cddca2df -s ours am: 1b6788b215 -s ours

am skip reason: Change-Id Ife1012c14d697141e6ee0c583dc32eaacdb72b73 with SHA-1 f06684acab is in history

Change-Id: Ia3e50859b4a07900fa0f195cd3f2c35c49b87db5