summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-05-08 20:56:10 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-05-08 12:59:39 +0000
commit2d2e953cd35e6baad56e9d32c76762a51f00290c (patch)
tree3810ae313535e3a4279eabaff97782f368adef85 /libs/androidfw/StringPool.cpp
parentf3475fcf118e8069ed6c2123f9c5bc0882d91107 (diff)
Do not redraw if no change on reparent
An example is when transferring a starting window in a task with embedded activities. The configuration of the starting window will be overridden by task, so there won't be configuration change when transferring the window between activities. And if the window was drawn, it is unnecessary to request redraw by onSyncReparent -> WindowState#prepareSync() -> requestRedrawForSync(). Though this can avoid potential SurfaceSyncGroup timeout indirectly, this is still a reasonable performance optimization. Bug: 279798720 Test: atest SyncEngineTests#testReparentIn Change-Id: Iebfb662b579eceecc470719fa6a2dc8ba8df332f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions