Fix divide by zero.
Fix divide by zero.

Change-Id: I3113234aa5936965424dde5b24e448df1be0b603

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