summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-06-08 14:13:29 -0600
committerJeff Sharkey <jsharkey@android.com>2017-06-08 14:13:31 -0600
commitda1247a0769b184938d0afe9ca3b69ecab14654f (patch)
tree2c83d23fb5cb536a091da6b9990adc71fc7a618f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6ef238a51c27abbeb90b5e187be2eab9dfdfecbe (diff)
Omit icons from bulk SessionInfo calls.
Calls that return List<SessionInfo> can end up returning hundreds of sessions, each of which include a "Bitmap appIcon" object. Since we quickly smash the entire list through a ParceledListSlice, we risk exhausting FDs for all the ashmem regions. To mitigate this, we omit these icons from the bulk calls, and then fetch individual icons on-demand when explicitly requested. Test: create 2k sessions and verify system doesn't croak Bug: 38021844 Change-Id: I932073defe5b9b34a636818a69009d49060215fb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions