mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Revert "Updating the scroll calculation from recyclerView to avoid view inflation"
This reverts commit 20bbe95ddb.
Reason for revert: Causing flake in Ironwood test: b/248295569
Test: ABTD
Before: Flaky, 14/50 PASSED
https://android-build.googleplex.com/builds/abtd/run/L33900000956890639
Revert: 50/50 PASSED
https://android-build.googleplex.com/builds/abtd/run/L49200000956887317
Change-Id: I41f4428c74e581323f90c716a7852b5e553ae27d
This commit is contained in:
@@ -112,12 +112,12 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
|
||||
case TestProtocol.REQUEST_APPS_LIST_SCROLL_Y: {
|
||||
return getLauncherUIProperty(Bundle::putInt,
|
||||
l -> l.getAppsView().getActiveRecyclerView().computeVerticalScrollOffset());
|
||||
l -> l.getAppsView().getActiveRecyclerView().getCurrentScrollY());
|
||||
}
|
||||
|
||||
case TestProtocol.REQUEST_WIDGETS_SCROLL_Y: {
|
||||
return getLauncherUIProperty(Bundle::putInt,
|
||||
l -> WidgetsFullSheet.getWidgetsView(l).computeVerticalScrollOffset());
|
||||
l -> WidgetsFullSheet.getWidgetsView(l).getCurrentScrollY());
|
||||
}
|
||||
|
||||
case TestProtocol.REQUEST_TARGET_INSETS: {
|
||||
|
||||
Reference in New Issue
Block a user