mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Merge changes from topic "state-supplier" into ub-launcher3-master
* changes: Translate recents slightly while dragging after pausing Two-zone model: swipe up from nav bar vs above it Change LauncherState to Supplier<LauncherState> in tests
This commit is contained in:
committed by
Android (Google) Code Review
commit
0618d689e8
@@ -3255,7 +3255,8 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
return mOverlayShown;
|
||||
}
|
||||
|
||||
void moveToDefaultScreen() {
|
||||
/** Calls {@link #snapToPage(int)} on the {@link #DEFAULT_PAGE}, then requests focus on it. */
|
||||
public void moveToDefaultScreen() {
|
||||
int page = DEFAULT_PAGE;
|
||||
if (!workspaceInModalState() && getNextPage() != page) {
|
||||
snapToPage(page);
|
||||
|
||||
Reference in New Issue
Block a user