Merge "Properly compute scroll for Taskbar All Apps." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
91b0e2d6d1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user