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

Skip to content
Commit f6af3e78 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Use new config to check windowing mode for upscaling enabling/disabling

Upscaling in SCM should only be enabled for freeform activities.
Current check retrieves windowing mode from activity record. However,
this is not updated in time so when we are transitioning out of desktop
mode (going from freeform to fullscreen), upscaling is still applied as
the old windowing mode is being used. Instead, we should check the
newParentConfiguration's windowing mode to enable/ disable upscaling
based on the final windowing mode app will inherit.

Flag: NONE(bug fix)
Test: atest WmTests:SizeCompatTests
Fix: 367224159

Change-Id: Ic95db02d032318c45458482088a380227a58243c
parent 31eb3031
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