Compatible behavior for non-resizable activity (1/N)
Introduce a fixed screen mode for non-resizable activity. If the activity has fixed of orientation or aspect ratio, it can keep the original configuration when the size of container is changed. The original bounds and screen related attributes are set to the override configuration. So when the activity meet: - Move to another display - Display size changed The activity won't be relaunch or receive unexpected config changes. The next CL will utilize this information to scale and offset the windows of the non-resizable activity into the corresponding place according to different use cases. Bug: 112288258 Test: atest ActivityRecordTests Change-Id: I5050f180e5d6c6c05514f0dc79102c0668c75c23
Loading
Please register or sign in to comment