Better diags and a small correction for scrolling in AllApps

Change-Id: I48dbba26139f42350831fb707bea847b7c76129f
This commit is contained in:
vadimt committed 2020-01-14 19:39:35 -08:00
1 parent ced004fb71
commit 9675452c2f
2 files changed
+5 -2

No files matched your search

@@ -126,11 +126,11 @@ public class TestInformationHandler implements ResourceBasedOverride {
case TestProtocol.REQUEST_APPS_LIST_SCROLL_Y: {
try {
final int deferUpdatesFlags = MAIN_EXECUTOR.submit(() ->
final int scroll = MAIN_EXECUTOR.submit(() ->
mLauncher.getAppsView().getActiveRecyclerView().getCurrentScrollY())
.get();
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD,
deferUpdatesFlags);
scroll);
} catch (ExecutionException | InterruptedException e) {
throw new RuntimeException(e);
}