summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-12-01 22:33:41 -0600
committer Riddle Hsu <riddlehsu@google.com> 2022-12-01 23:19:51 +0800
commit6a8af5a68916f3fe507e0f5b6e553b8e68e601d8 (patch)
tree73eabc118e4c19eca18fc0167022dd1fbb0c225b /libs/androidfw/StringPool.cpp
parent2a23c2e341e5211626b0b28c4cccfb3d10fddbc9 (diff)
Skip immediate hiding from finishTransition
It was used to solve flickering issues when dismissing split screen and toggling pip without transition (commit 6914f08). But since most of visibility changes are associated with transition, and there is new synchronization mechanism of transaction. The immediate hiding also doesn't make visual difference in legacy transition. Typically, if the visibility is changed, it will schedule to call prepareSurface, which will update surface visibility according to isVisible(). This may reduce the latency to Activity#dispatchEnterAnimationComplete. Also - Initialize ActivityRecord surface as invisible so it doesn't need to update by hide() in the first prepareSurface(). - Remove unused method onSurfaceShown. Bug: 260059642 Test: FilesAppPerfTest#testFilesColdStartPerformance Change-Id: Icc9efecf2f078857a448f1cbeb85c865c6c8d401
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions