summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2022-02-07 16:06:29 -0800
committer Rob Carr <racarr@google.com> 2022-02-22 18:18:27 +0000
commitf9b5a13cd1f79ffca2965e153862fb77b8821a9b (patch)
tree14edd9943d4b90442ab5727254ed93532fe19de0 /libs/androidfw/AttributeResolution.cpp
parent963dabe7fea996a627bcb1e2ee99a7484fe28784 (diff)
SurfaceControlViewHost: Clone control for SurfacePackage
Otherwise the results can be quite confusing, each time we call getSurfacePackage it returns a new SurfacePackage but after releasing the first one all the others become invalid. This normally isn't noticed as SurfaceControlViewHost is frequently used only in cross process scenarios so the additional step of parcelling can prevent this issue from occuring. Bug: 196926363 Test: SurfaceViewSurfacePackageValidatorTest#testSurfacePackageNoFlicker Change-Id: Id77f6daab4bb80d4d23d40d24d74b39bd694f350
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions