mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 02:08:20 +00:00
Workaround: don't migrate grid when hotseat size or device type changes in multi display
Bug: 198965093 Test: manual Change-Id: I804ec854b98d27717c32723028f892ca2556d327
This commit is contained in:
@@ -106,9 +106,11 @@ public class GridSizeMigrationTaskV2 {
|
||||
DeviceGridState idpGridState = new DeviceGridState(idp);
|
||||
DeviceGridState contextGridState = new DeviceGridState(context);
|
||||
boolean needsToMigrate = !idpGridState.isCompatible(contextGridState);
|
||||
// TODO: Revert this change after b/200010396 is fixed
|
||||
Log.d(TAG, "Migration is needed. idpGridState: " + idpGridState
|
||||
+ ", contextGridState: " + contextGridState);
|
||||
// TODO(b/198965093): Revert this change after bug is fixed
|
||||
if (needsToMigrate) {
|
||||
Log.d("b/198965093", "Migration is needed. idpGridState: " + idpGridState
|
||||
+ ", contextGridState: " + contextGridState);
|
||||
}
|
||||
return needsToMigrate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user