Make large screen display ignore orientation request by default
- Make the behavior consistent on large screen. Enable ignore-orientation-request by smallestScreenWidthDp >= 600dp It can still be overridden by shell command or display_settings.xml. - The regular large screen devices already configure their display_settings.xml with ignoreOrientationRequest="true". This can reduce duplication of display_settings.xml for new large screen devices every time. - Make most tests of SizeCompatTests use default display. Because it is more efficient than creating a new display. That may reduce the test time by tens of seconds. - Remove some incorrect assertDownScaled in SizeCompatTests which should not apply compat scale, e.g. a 700x1400 activity in a 2800x1400 display rotates to 1400x700. But it was accidentally passed by the fallback scale DisplayContent#mCompatibleScreenScale which is 0 on a TestDisplayContent. Bug: 357141415 Flag: com.android.window.flags.universal_resizable_by_default Test: atest SizeCompatTests Change-Id: Id67309257d3af875ea6b2b2fb42c5fb5e01b9d6e
Loading
Please register or sign in to comment