summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-08-08 23:00:58 -0600
committer Riddle Hsu <riddlehsu@google.com> 2022-08-08 23:06:28 +0800
commite59483dc1c57ed6019edefafb7410da90c04fe87 (patch)
treed44b0f5693fd07c111bf0d8ec6c200d409bd40af /libs/androidfw/StringPool.cpp
parentc2b6d449e183806a83684eb9f621fc58ec5f1633 (diff)
Detect layout change of paramsForRotation precisely
WindowManager.LayoutParams doesn't override equals(). It returns false if the instances are different. So after writing/reading from parcel, even if the fields are identical, the comparison of Arrays.equals(paramsForRotation, o.paramsForRotation) always returns false. This is the first step as a signal to decide whether the screen configuration needs to be recomputed according to if there is a layout change from decor windows. Bug: 238399969 Test: atest FrameworksCoreTests:android.view.WindowParamsTest Change-Id: I82582ff48064bbf009403d2c0980a69157860f90
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions