Add restart button for size compatibility mode activity
- The floating restart button will show when an size compatibility mode activity shown with non-native screen configuration. e.g. display size changed, move to another display. - Consolidate onDisplayRemoved into CommandQueue.Callback so the components which implement CommandQueue.Callbacks don't need to register display listener individually. The leakage of AutoHideController when removing display is also fixed by the way. Bug: 112288258 Test: runtest systemui -c \ com.android.systemui.SizeCompatModeActivityControllerTest Change-Id: Ib04efe983ae0d8d21b33fb9fd9c60e7f6f0dc92e
Loading
Please register or sign in to comment