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

Commit 6f151129 authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Improve compat mode logging

- Dump shouldCreateAppCompatDisplayInsets() for SCM-eligible apps
 because currently you can tell if an app is eligible for SCM or
 not from activity dump only after mSizeCompatScale or
 mSizeCompatBounds is created (a bit error prone for manual
 testers)

- Dump DCM info
 Dump (i) whether an app is eligible for DCM and (ii) the app is
 currently in DCM. To achieve this, this change also refactors
 AppCompatDisplayCompatModePolicy() so dynamic and static factors
 are clearly seperated in getDisplayCompatModeConfigMask().

Flag: com.android.window.flags.enable_display_compat_mode
Bug: 413176299
Test: adb shell dumpsys activity top-resumed
Change-Id: Ifcbf9522aefc14935f915c519a66d3ee781d3651
parent 5757704a
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