summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-04-15 21:17:18 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-04-15 21:19:24 +0800
commit5deb763e687bb702fdb1f52603a4341686dfa3ad (patch)
tree0415c12560e45a222b65ed5c93e18d24881506d3 /libs/androidfw/AssetsProvider.cpp
parent8116d48598fddc51e9779b2438a023eb607a452e (diff)
Do not reset surface for forced layout
In general this removes commit b2e3780. Because since rotation is a part of configuration, it is enough to redraw according to the configuration change. Otherwise because forceRelayout is also used for syncRedraw, that will cause to drop pre-allocated buffers and increase the time of the initial frames for reallocation. Bug: 229366100 Test: ActivityRecordTests#testLandscapeSeascapeRotationByApp Test: Rotate 180 degree with various apps and no upside down afterimage remains on the screen. Change-Id: I3f03f7c8674ddc4a8c0b9c0b0528816114075732
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions