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

Skip to content
Commit a0e65ae3 authored by Robin Lee's avatar Robin Lee Committed by Riddle Hsu
Browse files

Activity orientation experiment on only large screens

This adds a third value to the DeviceConfig we had added before, that
applies the same rotation treatment on large screens only. This is
more similar to the targetSdk-gated change that will roll out.

This can be set by specifying "large" instead of "true" or "false"
when overriding: adb shell device_config put "window_manager"
"ignore_activity_orientation_request" "large"

See the flag universal_resizable_by_default for more information about
that.

ALTERNATIVES_CONSIDERED: True,False,FileNotFound
Bug: 357141415
Flag: com.android.window.flags.universal_resizable_by_default
Test: atest WmTests:ActivityRecordTests

Change-Id: Ib6b2293c3c4460dd8524823be908f183522dddb2
parent fe30fc14
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