diff options
| author | 2018-07-03 07:30:57 -0700 | |
|---|---|---|
| committer | 2018-07-03 07:30:57 -0700 | |
| commit | 9333840e902a335ffa5e2fcfc08b56f2c2d993a7 (patch) | |
| tree | 17a0b755a1859643b870a852ac68505bf39997e6 /tools/validatekeymaps/Main.cpp | |
| parent | 817c832eb4d1e1248d6b5a86eb2e5492efe6b89c (diff) | |
Reduce object allocation in AMS.computeOomAdjLocked()
Follow-up clean-up CL to ag/4246927 where we introduced structured
way of communicating process state to WM. However, in that CL we
were creating a few objects whenever AMS.computeOomAdjLocked() is
called. This CL corrects that with a temp. object/class pattern.
Test: existing tests pass.
Bug: 80414790
Change-Id: I97241b3d71e10610cca562397d33c8fa77727efa
Diffstat (limited to 'tools/validatekeymaps/Main.cpp')
0 files changed, 0 insertions, 0 deletions