improve performance on RS

(Trip's commit - https://github.com/TripNRaVeR/android_device_htc_m7/commit/e799096cd6627f3aed990bc9d35fa76732faedd5)