Use string length from DEX instead of recomputing
am: 5c2dc29940

Change-Id: I2f88548c1e8824f21a5d16e8a8e3fa2b6c4ad353