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
Loading
Please register or sign in to comment