mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Introducing new variable to enable/disable shortcuts.
Widgets and shortcuts are two different entities but they are controlled by same variable GO_DISABLE_WIDGETS. In this CL I have introduced a new variable GO_DISABLE_SHORTCUTS to enable/disable widgets. Test: Tested manually on device. Bug: 236268654 Change-Id: Ib373b042fbfd0493e6345ef10e5631dbfd96b8c3
This commit is contained in:
@@ -41,8 +41,10 @@ import java.util.Set;
|
||||
*/
|
||||
public class WidgetsModel {
|
||||
|
||||
// True is the widget support is disabled.
|
||||
// True if the widget support is disabled.
|
||||
public static final boolean GO_DISABLE_WIDGETS = true;
|
||||
// True if the shortcut support is disabled.
|
||||
public static final boolean GO_DISABLE_SHORTCUTS = true;
|
||||
public static final boolean GO_DISABLE_NOTIFICATION_DOTS = true;
|
||||
|
||||
private static final ArrayList<WidgetsListBaseEntry> EMPTY_WIDGET_LIST = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user