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

Skip to content
Commit 77266cee authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Override app bounds related configuration fields for legacy app

This CL introduced the override at the ActivityRecord level. The legacy
value will be used to apps targeting API level 34 or before.

To support the calculation of the smallestScreenWidthDp, extra fields
are introduced in DecorInsets.

The override will not fallback to legacy value of a device set the
decouple status bar and display cutout related flags.

Bug: 151861875
Bug: 321168774
Test: ConfigurationTest
Test: No behavior change should be observed at latest build.
Change-Id: If7fd52b58d5f1195044f0acab76a7755b57221ea
Merged-In: If7fd52b58d5f1195044f0acab76a7755b57221ea
(cherry picked from commit c9981489)
parent 7548f9fa
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