summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-03-15 20:42:48 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-03-16 00:47:56 +0800
commit0fec5269b6f84d8b3acc455821130af383a470dd (patch)
tree7496e8500819bde7b225b42318e427605fd2ad46 /libs/androidfw/ObbFile.cpp
parent4489eec91bb76f5140802bd7a4815261a15e304d (diff)
Remove window replacement
It is almost dead code because - It was added for SurfaceView using a child window. But SurfaceView no longer uses a window for years. - It only executes for 2 conditions: - Main window - For freeform, there was general change-transition which uses a screenshot of window container to animate. - For splitscreen, there is TaskOverlay to cover the change. - Child window (from ActivityThread r.mPreserveWindow) - Server side config change Always no-op because config change will clear drawn state and then WindowState#hasContentToDisplay return false that skips setWillReplaceWindow. - Client side calls Activity#recreate. But it usually only causes a removal timeout because app may not add the child window again. So no case needs it anymore. Bug: 163976519 Test: CtsActivityManagerDeviceTestCases Change-Id: If78155ac453c02cda8bf448bb353061e861747fe
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions