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.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherApplication.java b/src/com/android/launcher3/LauncherApplication.java
index 8b179f1e7..f0a08ffbe 100644
--- a/src/com/android/launcher3/LauncherApplication.java
+++ b/src/com/android/launcher3/LauncherApplication.java
@@ -19,9 +19,13 @@ package com.android.launcher3;
import android.app.Application;
public class LauncherApplication extends Application {
+ public static boolean LAUNCHER_SHOW_UNREAD_NUMBER;
+
@Override
public void onCreate() {
super.onCreate();
+ LAUNCHER_SHOW_UNREAD_NUMBER = getResources().getBoolean(
+ R.bool.config_launcher_show_unread_number);
LauncherAppState.setApplicationContext(this);
LauncherAppState.getInstance();
}
@@ -31,4 +35,4 @@ public class LauncherApplication extends Application {
super.onTerminate();
LauncherAppState.getInstance().onTerminate();
}
-} \ No newline at end of file
+}