Revert^2 "Ignore orientation override if restricted resizability is declared"
This reverts commit d9761df1. If app declares android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY to true. It should have the behavior same as android.window.PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE to false. That means the app wants to keep its orientation explicitly, so OVERRIDE_ANY_ORIENTATION_TO_USER should be ignored as well. Bug: 443951799 Flag: com.android.window.flags.opt_out_override_orientation_to_user Test: atest SizeCompatTests# \ testRestrictedResizabilityOptOutNotOverrideToUser Change-Id: I85810030caf3e1b7fa6ccb0917780a241cc27861
Loading
Please register or sign in to comment