mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Review comments followup
These are review comments followup from ag/17399997 Bug: b/218187058 Test: manually test thet Launcher3 features work correctly Change-Id: I9865a37c1ed663370dc28e7678994f3d961e3cd1
This commit is contained in:
@@ -1203,7 +1203,7 @@ public class CellLayout extends ViewGroup {
|
||||
return getContext().getString(R.string.move_to_hotseat_position,
|
||||
Math.max(cellX, cellY) + 1);
|
||||
} else {
|
||||
Workspace workspace = getWorkspace();
|
||||
Workspace<?> workspace = getWorkspace();
|
||||
int row = cellY + 1;
|
||||
int col = workspace.mIsRtl ? mCountX - cellX : cellX + 1;
|
||||
int panelCount = workspace.getPanelCount();
|
||||
@@ -1217,7 +1217,7 @@ public class CellLayout extends ViewGroup {
|
||||
}
|
||||
}
|
||||
|
||||
private Workspace getWorkspace() {
|
||||
private Workspace<?> getWorkspace() {
|
||||
return Launcher.cast(mActivity).getWorkspace();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user