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:
Shikha Malhotra
2022-04-11 10:23:18 +00:00
parent 4349d21246
commit f78da1bae3
25 changed files with 118 additions and 94 deletions

View File

@@ -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();
}