diff options
| author | 2011-02-14 18:35:07 -0800 | |
|---|---|---|
| committer | 2011-02-14 19:13:17 -0800 | |
| commit | 929ced35698152b84f12a8b3662f5e50cfd12913 (patch) | |
| tree | d3a7b60d5f3888bc89634cf6faf8771df9b7f9a5 /libs/hwui/ProgramCache.cpp | |
| parent | cfe8903441fa3fc13c774587fe96df8206d4ba7d (diff) | |
fix [3452769] SensorEventListener can cause a java allocation at each received event [external]
increase the size of the SensorEvent pool from 1 to num_sensors*2.
and make the pool global instead of having an instance per SensorEventListener.
Change-Id: I1bcc53a9b07cd1f96fac6fe6e3b9da074e3cb1fd
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions