Fix Launcher won't get split screen config changed after dismissed
When split screen was dismissed due to launching activity not supporting split screen, it will reparent home task and update its bounds with two different window container transactions. When the home task was reparented without updating bounds, Launcher won't refresh split screen state because it only updates split screen config when there's orientation or screen size config changed. When the home task's bounds was updated latter, it might not triggers Activity#onConfigurationChanged due to the screen size changes didn't cross the threshold after ag/13816978 and ag/13844692. This merges reparent and reseting bounds transactions to make sure Launcher updates split screen state properly after dismissed split with not supporting split screen activity launched. Fix: 188462404 Test: dismiss split screen by launcher activity not supporting multiwindow, observed the split screen button shows properly in recent panel. Change-Id: Ic6224a3b593acd3e978f377c9840a8cfc9d9a29c
Loading
Please register or sign in to comment