Merge "Fixes a bug where the user ends in freescroll state even for regular workspace mode." into ub-launcher3-master
This commit is contained in:
commit
83d40e0608
2 files changed
+20
-12
No files matched your search
@@ -4103,6 +4103,16 @@ public class Workspace extends PagedView
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean enableFreeScroll() {
|
||||
if (getState() == State.OVERVIEW) {
|
||||
return super.enableFreeScroll();
|
||||
} else {
|
||||
Log.w(TAG, "enableFreeScroll called but not in overview: state=" + getState());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Used as a workaround to ensure that the AppWidgetService receives the
|
||||
* PACKAGE_ADDED broadcast before updating widgets.
|
||||
|
||||
Reference in new issue
Block a user