Iterate based on index, not key.
Iterate based on index, not key.

Bug: 18785949
Change-Id: I5d92fedac9f71b997f87f7035635fde276756faa

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