commit | 9ba7c1c17567c19f0187d73cdca55ca99590674e | [log] [tgz] |
---|---|---|
author | destradaa <destradaa@google.com> | Tue Feb 10 15:04:43 2015 -0800 |
committer | destradaa <destradaa@google.com> | Tue Feb 10 15:07:50 2015 -0800 |
tree | ddce25f5c485ee2d5445394f84499b7b5e6ae5ea | |
parent | 4a39e1bb3339ec9286052426a76f8f3d8e265d5a [diff] |
Intern strings used in Sensor information. By creating a local 'interning map', Sensor information, such as: name, vendor, stringType, and requirePermissions; 92 string objects are not needed anymore. This frees ~6KB of memory in all processes accessing SensorManager. Change-Id: Idfdc98160363bec844c34fc3b71f5e8d7843a7be