Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70e8b157 authored by Andy Wickham's avatar Andy Wickham
Browse files

Minor stylistic changes in Workspace.java.

Change-Id: Ib07611f27cbc427d11abccd8b74ea144485752f7
parent ff8febab
Loading
Loading
Loading
Loading
+31 −31
Original line number Diff line number Diff line
@@ -2093,10 +2093,10 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
        mTempFXY[1] = y;
        mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, mTempFXY, true);
        View hotseat = mLauncher.getHotseat();
       return mTempFXY[0] >= hotseat.getLeft() &&
               mTempFXY[0] <= hotseat.getRight() &&
               mTempFXY[1] >= hotseat.getTop() &&
               mTempFXY[1] <= hotseat.getBottom();
        return mTempFXY[0] >= hotseat.getLeft()
                && mTempFXY[0] <= hotseat.getRight()
                && mTempFXY[1] >= hotseat.getTop()
                && mTempFXY[1] <= hotseat.getBottom();
    }

    /**
@@ -2393,9 +2393,9 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
            spanY = mDragInfo.spanY;
        }

        final int container = mLauncher.isHotseatLayout(cellLayout) ?
                LauncherSettings.Favorites.CONTAINER_HOTSEAT :
                    LauncherSettings.Favorites.CONTAINER_DESKTOP;
        final int container = mLauncher.isHotseatLayout(cellLayout)
                ? LauncherSettings.Favorites.CONTAINER_HOTSEAT
                : LauncherSettings.Favorites.CONTAINER_DESKTOP;
        final int screenId = getIdForScreen(cellLayout);
        if (!mLauncher.isHotseatLayout(cellLayout)
                && screenId != getScreenIdForPageIndex(mCurrentPage)