Do not ignore locked orientation by universal resizable

The policy focuses on the orientation request that may trigger a change.
The "lock" is like to keep current orientation, so it is excluded.

Also fix some tests by using activity builder with test package
(legacy target sdk).

Bug: 357141415
Flag: com.android.window.flags.universal_resizable_by_default
Test: SizeCompatTests
Change-Id: Ibc3a4fbcab3132d00a22da4a37947d5a48f9c421
2 files changed