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

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

Re-land: Let WindowProcessController apply app specific config

Since the feature of insetsDecoupledConfiguration, targetSdk can affect
the app sizes of the configuration. An app might get the configuration
from WindowProcessController before the size is overridden by the
ActivityRecord.

This CL applies the size override to WindowProcessController as well so
that apps won't get the unexpected apps size from the configuration.

This CL also fixes a bug that the appBounds would still be affected by
insets even when the bounds is not overlapped with the insets area.

Fix: 347136833
Bug: 151861875
Flag: com.android.window.flags.insets_decoupled_configuration
Test: atest WindowPolicyTests QSMediaPlayerContent
      WindowProcessControllerTests
Change-Id: I3b373607ffc0a6c1b4e6ecffb4a2857fc0d18d9d
parent 002dd68f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment