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:
1 parent
4349d21246
commit
f78da1bae3
25 files changed
+118
-94
No files matched your search
@@ -178,7 +178,7 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
|
||||
case TestProtocol.REQUEST_WORKSPACE_CELL_LAYOUT_SIZE:
|
||||
return getLauncherUIProperty(Bundle::putIntArray, launcher -> {
|
||||
final Workspace workspace = launcher.getWorkspace();
|
||||
final Workspace<?> workspace = launcher.getWorkspace();
|
||||
final int screenId = workspace.getScreenIdForPageIndex(
|
||||
workspace.getCurrentPage());
|
||||
final CellLayout cellLayout = workspace.getScreenWithId(screenId);
|
||||
@@ -189,7 +189,7 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
final WorkspaceCellCenterRequest request = extra.getParcelable(
|
||||
TestProtocol.TEST_INFO_REQUEST_FIELD);
|
||||
return getLauncherUIProperty(Bundle::putParcelable, launcher -> {
|
||||
final Workspace workspace = launcher.getWorkspace();
|
||||
final Workspace<?> workspace = launcher.getWorkspace();
|
||||
// TODO(b/216387249): allow caller selecting different pages.
|
||||
CellLayout cellLayout = (CellLayout) workspace.getPageAt(
|
||||
workspace.getCurrentPage());
|
||||
|
||||
Reference in new issue
Block a user