Revert "Revert "Updating the scroll calculation from recyclerView to avoid view inflation""

Test: ABTD
https://android-build.googleplex.com/builds/abtd/run/L52600000956969786

This reverts commit cee6ddf3de.

Reason for revert: Fixed in ag/20239136

Change-Id: I0e8446e66d9a86a94b40fcbd6de14da07abe8e5c
This commit is contained in:
Sunny Goyal
2022-10-21 20:42:34 +00:00
committed by Hui Kang
parent ac29981a42
commit f34811d3a3
12 changed files with 212 additions and 211 deletions

View File

@@ -537,7 +537,7 @@ public abstract class AbstractLauncherUiTest {
}
protected int getAllAppsScroll(Launcher launcher) {
return launcher.getAppsView().getActiveRecyclerView().getCurrentScrollY();
return launcher.getAppsView().getActiveRecyclerView().computeVerticalScrollOffset();
}
private void checkLauncherIntegrity(