summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-03-24 17:01:53 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-03-31 14:47:26 +0800
commit3284bb4beb8d180bf1f459e6569f0eda3a2d5079 (patch)
tree02b9c3a7f47db90396d00450b4cc61c46d83ca25 /libs/androidfw/ObbFile.cpp
parent5318b9dba8784cd1edfb7747efd3868dfce1ee5d (diff)
Reduce unnecessary operations in perpareSurface
- If the window doesn't have surface, skip updating position and scale. Usually the no surface windows could be NotificationShade, EdgeBackGestureHandler, SecondaryHomeHandle, InputMethod, ScreenDecorOverlay, ScreenDecorOverlayBottom, ShellDropTarget. - Only calculate dim bounds if the dim layer is showing. Bug: 159103089 Test: DimmerTests CtsWindowManagerDeviceTestCases Change-Id: I090675457cb465dfb4e656feb1dc272d00ebb45e
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions