Push a potential fix for hotseat aggregation

This could be caused by landscape layout not receiving inset changes

Adding logs for hotseat layout info as well

Bug: 335141365
Flag: EXEMPT bugfix
Test: N/A
Change-Id: I987f8622907a10fac5375ddddac3db2c5eba41c1
This commit is contained in:
Sihua Ma
2024-06-03 18:35:39 +00:00
parent 38b9e1438e
commit a44f4ac861
4 changed files with 28 additions and 10 deletions

View File

@@ -147,7 +147,8 @@ public abstract class BaseDraggingActivity extends BaseActivity
@Override
public void onDisplayInfoChanged(Context context, Info info, int flags) {
if ((flags & CHANGE_ROTATION) != 0 && mDeviceProfile.updateIsSeascape(this)) {
if ((flags & CHANGE_ROTATION) != 0 && mDeviceProfile.isVerticalBarLayout()) {
mDeviceProfile.updateIsSeascape(this);
reapplyUi();
}
}