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

Skip to content
Commit b087db35 authored by Nicolas Capens's avatar Nicolas Capens Committed by Nicolas Capens
Browse files

Check if the buffer is actually being scaled instead of only checking scaling mode

BufferStateLayers have a default scale to window scaling mode which
means the layers would be set use texture filtering regardless of
the buffer size. This was breaking some pixel by pixel screenshot
comparison tests. Instead check if the buffer size, after applying
any buffer transforms, matches the layer size.

This is a cherry pick of ag/12947725, preparing for a subsequent change
to apply the same logic to BufferLayer.

Bug: b/182584062
Test: android.view.inputmethod.cts.FocusHandlingTest#testNonFocusablePopupWindowDoesNotAffectImeVisibility
Merged-In: I90b05187a2e22834a99d3690095293fa37118734
Change-Id: I8a64ad96c82b65abf5d1312447ff76915c61f5d5
parent 04a1d0dd
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