Support application opt-out property for universal resizable

It can be used by app with target sdk > 35 but the app still needs
to make all its activities 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.

This is similar to Ic0b52872cf0d99965d1ec85abb771a6cb256b8fe

Bug: 357141415
Flag: com.android.window.flags.universal_resizable_by_default
Test: atest SizeCompatTests#testUniversalResizeable
Change-Id: I3308fef65d9c969ec07a22d26083ccae66c42ecb
4 files changed