diff options
author | huiwan <huiwan@codeaurora.org> | 2014-11-10 10:35:03 -0800 |
---|---|---|
committer | Rajesh Yengisetty <rajesh@cyngn.com> | 2014-11-21 00:20:59 +0000 |
commit | 6a8dada0a3a3e0f51890541e053830e84480fef4 (patch) | |
tree | bc08f5176fe830e525d9a4802d807614ea6af426 /src/com/android/launcher3/LauncherApplication.java | |
parent | c15c2d8ee4cace5218f16a8d755eab0e8b89460e (diff) | |
download | android_packages_apps_Trebuchet-6a8dada0a3a3e0f51890541e053830e84480fef4.tar.gz android_packages_apps_Trebuchet-6a8dada0a3a3e0f51890541e053830e84480fef4.tar.bz2 android_packages_apps_Trebuchet-6a8dada0a3a3e0f51890541e053830e84480fef4.zip |
Launcher: display APP icon paged in main screen as Carrier require
Carrier require display customized APP:
- recommened APP will be placed on the first page on main screen
- Carrier's specific APP will be placed on the second page
- rest and third APP will be placed on other page
Change-Id: I2e52285068012a3e99526225b99bd25365df9bec
Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
Diffstat (limited to 'src/com/android/launcher3/LauncherApplication.java')
-rw-r--r-- | src/com/android/launcher3/LauncherApplication.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherApplication.java b/src/com/android/launcher3/LauncherApplication.java index 06d7dae08..520beb639 100644 --- a/src/com/android/launcher3/LauncherApplication.java +++ b/src/com/android/launcher3/LauncherApplication.java @@ -21,7 +21,7 @@ import android.app.Application; public class LauncherApplication extends Application { public static boolean LAUNCHER_SHOW_UNREAD_NUMBER; public static boolean LAUNCHER_SHORTCUT_ENABLED; - public static boolean SHOW_CTAPP_FEATRUE = false; + public static boolean SHOW_CTAPP_FEATURE; @Override public void onCreate() { @@ -30,6 +30,7 @@ public class LauncherApplication extends Application { R.bool.config_launcher_show_unread_number); LAUNCHER_SHORTCUT_ENABLED = getResources().getBoolean( R.bool.config_launcher_shortcut); + SHOW_CTAPP_FEATURE = getResources().getBoolean(R.bool.config_launcher_page); LauncherAppState.setApplicationContext(this); LauncherAppState.getInstance(); } |