summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2023-10-05 15:57:53 -0700
committer Maryam Dehaini <mdehaini@google.com> 2023-10-23 12:27:18 -0700
commitc152918c97b9031d53b472d70be761aed78850e2 (patch)
tree14ab898f7e2ecbd26ca4ad26daae423ca070f5ee /libs/androidfw/FileStream.cpp
parent1c391eac48310ef95f2d96fb05f71e21fd831401 (diff)
Use a copy of surface control when creating window decoration
Currently, we are are passing in the surface control from the transition directly when we create a window decoration. This surface control is reused throughout the life cycle of the decoration; however, the surface control is released when a transition is finished which is causing an IllegalStateException. With this change, the window decoration will be passed a copy of the surface control which will only be released when the decoration is closed. Bug: 303160557 Test: manual testing Change-Id: I42eee8051386e4a661dabebdf6d21b26d6d01acf
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions