diff options
author | Vishnu Nair <vishnun@google.com> | 2019-06-25 17:28:58 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2019-06-25 17:33:44 -0700 |
commit | bc9beab8fef8d266fbf08ed8fcfe1a468c863ead (patch) | |
tree | 9c8d3f472c428c7112c9c0757d7c0f64bde1090d /startop/scripts/trace_analyzer/lib/trace2db_test.py | |
parent | 4bcd152a3a3178c0c0c4b30a5da729ea8bbfcfed (diff) |
Remove SurfaceControl#getHandle from JAVA apis 2/2
Holding on to a reference of the handle in Java will keep the server-side surface alive until
the reference is removed by GC. This may cause surfaces to be kept alive longer than necessary.
Instead hold on the surface control and call SurfaceControl#release which will release the local
reference to the server-side surface.
Bug: 136004147
Test: go/wm-smoke
Change-Id: Iff7d48ae1593cea2e188aa07c417f4c5a98887d5
Diffstat (limited to 'startop/scripts/trace_analyzer/lib/trace2db_test.py')
0 files changed, 0 insertions, 0 deletions