summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2023-02-13 12:11:58 -0500
committer Fabian Kozynski <kozynski@google.com> 2023-02-13 13:50:47 -0500
commitefa0a41ffec7b791de5bafe01b60d63afe7ce253 (patch)
treed8696d548207bdf38a7d11d011286037a7e99e91 /libs/androidfw/FileStream.cpp
parent7bf32dfd3f9cb1962c368d6a0198c575b8f8464e (diff)
Specify the parent viewgroup that should hide controls
Without this, launching ControlsActivtiy while it's running may cause to two instances of it existing for a brief moment. As the new instance will call `show` before the old instance calls `hide`, this will cause everything to be hidden (and all listeners removed). Instead, specify what parent view is calling hide. This makes it so we can decide whether to completely hide `ControlsUiControllerImpl` or just remove the views from the old parent. Test: atest ControlsUiControllerImplTest Test: manual, launch from LS and then from QS Test: heapdump: old ControlsActivity is released Bug: 267949140 Change-Id: I86a323cf25e5da81e610a21c4426872ef8684480
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions