summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yunfan Chen <yunfanc@google.com> 2023-10-02 17:44:10 +0900
committer Yunfan Chen <yunfanc@google.com> 2023-11-08 18:43:20 +0900
commitbf6797210e7bd698cb4eb6c879dab3bd408b0244 (patch)
tree49f7b9912bf6cca39f926314ac00c40ca3044c9a /libs/androidfw/FileStream.cpp
parent813da4623d2c6d80d3e23767973bf9d8284f7543 (diff)
Resolve letterbox on some close-to-square devices
To provide a new default behavior on close-to-square devices for app compatibility reason. The new default behavior will calculate configuration by decoupling status bar and display cutout from the screen sizes and orientation calculations. The corresponding value in the DisplayMetrics will also change. A device config flag, and a feature flag are used to control the configuration to only apply the change to certain devices. Furthur app compatibility policy may be needed and shall deliver in another patch. Bug: 291870756 Test: DisplayPolicyTests Test: Turn the flag values to true and check the behavior. Change-Id: I030daf3cf22c0e14794cea15ba8af15869bc62bd
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions