Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 149b7c24 authored by Tiger's avatar Tiger
Browse files

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
parent 0f5e234f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment