summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-10-31 12:42:34 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-11-04 09:45:52 +0000
commit0943bf773544b52d516ae7d2ce64806dbd1fd0a4 (patch)
treeddfd62fa31285d7fe3c8145e39351d7384d66e28 /libs/androidfw/StringPool.cpp
parent38c9e553a2bee27e7417dfa963f9b8c3f0a382d3 (diff)
Add activity opt-out property for universal resizable
It can be used by app with target sdk > 35 but the app still needs to make its specified activity to apply fixed orientation, aspect ratio, or non-resizable. Also optimize aspect ratio getter a bit to reduce query of compat and package property. Because most cases the value is zero if apps don't declare aspect ratio. Bug: 357141415 Flag: com.android.window.flags.universal_resizable_by_default Test: atest SizeCompatTests#testUniversalResizeable Change-Id: Ic0b52872cf0d99965d1ec85abb771a6cb256b8fe
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions