mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Add API to launcher to insert a custom page to the left of workspace
Change-Id: I85a4e096aab9bfcb1de74f04075bcabcb7e3262f
This commit is contained in:
@@ -398,6 +398,12 @@ public class Workspace extends SmoothPagedView
|
||||
UninstallShortcutReceiver.disableAndFlushUninstallQueue(getContext());
|
||||
}
|
||||
|
||||
// Just a hack so that if a custom content screen is added to the left, we adjust the
|
||||
// default screen accordingly so that it stays the same.
|
||||
void incrementDefaultScreen() {
|
||||
mDefaultPage++;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes various states for this workspace.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user