diff options
author | Robert Carr <racarr@google.com> | 2020-03-17 11:31:55 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2020-03-17 14:12:53 -0700 |
commit | d9c9c0cc75cbb71492af72a80772de9b900d628a (patch) | |
tree | b20d9f349fc7404966f9c855382ffb14cbbc6935 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 59624b219f1961114526b91ae253966f26b10d89 (diff) |
SurfacePackage: Add release method
Oversight, the SurfacePackage holds a reference to the SurfaceControl
which is protected by a close-guard. We need a way to close it
explicitly. Going to follow up with a patch to have SurfaceView
manage the lifetime when the SurfacePackage is consumed, but want
to make sure this explicit release gets in ASAP.
Bug: 149591513
Test: Existing tests pass
Change-Id: I7276a2440c38cc6d859b79b4c3ee57bc122ce2a6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions