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
Loading
Please register or sign in to comment