Adding a separate state for QuickScrub

Bug: 74014237
Change-Id: Ie86ac589f0ad0e1470fb6b0b71263ec6593eb1e3
This commit is contained in:
Sunny Goyal committed 2018-03-02 15:38:21 -08:00
1 parent ae9e85b8e9
commit 6c6c2f45f7
12 files changed
+92 -44

No files matched your search

+1 -1
View File
@@ -930,7 +930,7 @@ public class Folder extends AbstractFloatingView implements DragSource, View.OnC
int centeredTop = centerY - height / 2;
// We need to bound the folder to the currently visible workspace area
if (mLauncher.isInState(OVERVIEW)) {
if (mLauncher.getStateManager().getState().overviewUi) {
mLauncher.getDragLayer().getDescendantRectRelativeToSelf(mLauncher.getOverviewPanel(),
sTempRect);
} else {