diff options
author | destradaa <destradaa@google.com> | 2015-02-10 15:04:43 -0800 |
---|---|---|
committer | destradaa <destradaa@google.com> | 2015-02-10 15:07:50 -0800 |
commit | 9ba7c1c17567c19f0187d73cdca55ca99590674e (patch) | |
tree | ddce25f5c485ee2d5445394f84499b7b5e6ae5ea /tools/validatekeymaps | |
parent | 4a39e1bb3339ec9286052426a76f8f3d8e265d5a (diff) | |
download | frameworks_base-9ba7c1c17567c19f0187d73cdca55ca99590674e.zip frameworks_base-9ba7c1c17567c19f0187d73cdca55ca99590674e.tar.gz frameworks_base-9ba7c1c17567c19f0187d73cdca55ca99590674e.tar.bz2 |
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
Diffstat (limited to 'tools/validatekeymaps')
0 files changed, 0 insertions, 0 deletions