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

This commit is contained in:
Brian Isganitis
2023-04-19 14:36:21 +00:00
committed by Android (Google) Code Review
7 changed files with 32 additions and 4 deletions
@@ -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();
}
}