Fix off-by-one.
Fix off-by-one.

Bug: 7330567
Change-Id: I8653435c77daefa24991595f68b9f23dd930f14a

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base