summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherApplication.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/LauncherApplication.java')
-rw-r--r--src/com/android/launcher3/LauncherApplication.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherApplication.java b/src/com/android/launcher3/LauncherApplication.java
index f0a08ffbe..1a74ab276 100644
--- a/src/com/android/launcher3/LauncherApplication.java
+++ b/src/com/android/launcher3/LauncherApplication.java
@@ -20,12 +20,15 @@ import android.app.Application;
public class LauncherApplication extends Application {
public static boolean LAUNCHER_SHOW_UNREAD_NUMBER;
+ public static boolean LAUNCHER_SHORTCUT_ENABLED;
@Override
public void onCreate() {
super.onCreate();
LAUNCHER_SHOW_UNREAD_NUMBER = getResources().getBoolean(
R.bool.config_launcher_show_unread_number);
+ LAUNCHER_SHORTCUT_ENABLED = getResources().getBoolean(
+ R.bool.config_launcher_shortcut);
LauncherAppState.setApplicationContext(this);
LauncherAppState.getInstance();
}