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 c9981489c132aeb3f7bf47ba475297cfaad2d254)
6 files changed