Remove size parameter from substr call

Change-Id: I2745bcf8f242fe4a1992aa547efaccf33db0fb5b
Merge remote-tracking branch 'omni/android-4.4' into android-4.4