summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-12-02 21:01:26 +0800
committer Tiger <tigerhuang@google.com> 2024-12-03 19:28:16 +0800
commit149b7c24d925211e1f379725e17ec3199ff2bf22 (patch)
tree550fcf8dbdf7d653628a11680b27f277c5a4c30e /libs/androidfw/FileStream.cpp
parent0f5e234fb8815a3435e6803b7091f48aaf3084e9 (diff)
Don't skip clearing measure cache of ancestors
Otherwise, the measure cache of ancestor views can be stale. The measure cache is cleared when requestLayout is called. The previous logic might stop calling requestLayout to the parent view if the request has been made, which would stop clearing measure cache of ancestors unexpectedly. This CL continues clearing the measure cache of ancestors if a view stops calling requestLayout to its parent. Fix: 381512167 Flag: EXEMPT bugfix Test: atest ViewGroupTest WindowMagnificationSettingsTest TaplPrivateSpaceNexusTest TaplPrivateSpaceTest Change-Id: I824adbc769b58075c307b7c23ccb6f8143521b01
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions