Loading src/com/android/launcher3/model/DeviceGridState.java +7 −4 Original line number Diff line number Diff line Loading @@ -134,10 +134,13 @@ public class DeviceGridState implements Comparable<DeviceGridState> { * DeviceGridState without migration, or false otherwise. */ public boolean isCompatible(DeviceGridState other) { if (this == other) return true; if (other == null) return false; return mNumHotseat == other.mNumHotseat && Objects.equals(mGridSizeString, other.mGridSizeString); if (this == other) { return true; } if (other == null) { return false; } return Objects.equals(mDbFile, other.mDbFile); } public Integer getColumns() { Loading Loading
src/com/android/launcher3/model/DeviceGridState.java +7 −4 Original line number Diff line number Diff line Loading @@ -134,10 +134,13 @@ public class DeviceGridState implements Comparable<DeviceGridState> { * DeviceGridState without migration, or false otherwise. */ public boolean isCompatible(DeviceGridState other) { if (this == other) return true; if (other == null) return false; return mNumHotseat == other.mNumHotseat && Objects.equals(mGridSizeString, other.mGridSizeString); if (this == other) { return true; } if (other == null) { return false; } return Objects.equals(mDbFile, other.mDbFile); } public Integer getColumns() { Loading