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

Commit dcf99039 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent d9761df1
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