diff options
author | 2025-02-28 14:29:24 +0000 | |
---|---|---|
committer | 2025-03-18 17:29:50 +0000 | |
commit | 4ea8562fd079059d1502eb3872ca92a4a2713215 (patch) | |
tree | a69775284dff1b57fa74a3765b0c5c29e6cae555 /libs/androidfw/LocaleDataLookup.cpp | |
parent | 4a033548348bb3e33bc74b9c91fb2e442322592e (diff) |
Deep copy exclusion rects to be able to compare them between calls
The previous rect comparison in setSystemGestureExclusionRects was useless because the same Rect object were
always compared rather than their value, leading to skipping relevant
updates.
Update also setPreferKeepClearRects and
setUnrestrictedPreferKeepClearRects since they are doing the same.
Bug: 397934412
Bug: 388231176
Test: BubbleCollapseByPressingBack#testCollapseByPressingBack
Flag: com.android.window.flags.reduce_changed_exclusion_rects_msgs
Change-Id: I54821029205670f4c8c5bf3a3811f923a4968d62
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions