Merge "Properly compute scroll for Taskbar All Apps." into udc-dev

This commit is contained in:
Brian Isganitis authored and Android (Google) Code Review committed 2023-04-19 14:36:21 +00:00
commit 91b0e2d6d1
7 files changed
+32 -4

No files matched your search

@@ -149,4 +149,10 @@ public final class TaskbarAllAppsController {
// Allow null-pointer since this should only be null if the apps view is not showing.
return mAppsView.getActiveRecyclerView().getClipBounds().top;
}
@VisibleForTesting
public int getTaskbarAllAppsScroll() {
// Allow null-pointer since this should only be null if the apps view is not showing.
return mAppsView.getActiveRecyclerView().computeVerticalScrollOffset();
}
}