Moving some state specific logic to subclass of LauncherState

Bug: 67678570
Change-Id: I1316f91c9f19bd572e4a0da67a22fa8921e1dcf9
This commit is contained in:
Sunny Goyal committed 2017-10-20 13:56:47 -07:00
1 parent cac861068e
commit c99cb174c3
10 files changed
+277 -207

No files matched your search

+2 -3
View File
@@ -1341,12 +1341,11 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
/**
* return true if freescroll has been enabled, false otherwise
*/
public boolean enableFreeScroll() {
protected void enableFreeScroll() {
setEnableFreeScroll(true);
return true;
}
public void disableFreeScroll() {
protected void disableFreeScroll() {
setEnableFreeScroll(false);
}