From 3f1f8fbfed868f864cf92138053c1160b3729682 Mon Sep 17 00:00:00 2001 From: Matt Garnes Date: Fri, 16 Jan 2015 19:35:52 +0800 Subject: Rename carrier workspace files and config. - Rename Micromax config and workspace. - Rename Smartfren config and workspace. Change-Id: Ic13191f11c325715eb5d6e97899e9cbc900778bd --- res/values/config.xml | 4 +- res/xml/micromax_default_workspace.xml | 83 ------- res/xml/mmx_default_workspace.xml | 83 +++++++ res/xml/smartfren_default_workspace.xml | 251 --------------------- res/xml/srf_default_workspace.xml | 251 +++++++++++++++++++++ src/com/android/launcher3/DynamicGrid.java | 4 +- src/com/android/launcher3/LauncherApplication.java | 4 +- 7 files changed, 340 insertions(+), 340 deletions(-) delete mode 100755 res/xml/micromax_default_workspace.xml create mode 100755 res/xml/mmx_default_workspace.xml delete mode 100644 res/xml/smartfren_default_workspace.xml create mode 100644 res/xml/srf_default_workspace.xml diff --git a/res/values/config.xml b/res/values/config.xml index 36f719d6b..21660fd11 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -123,6 +123,6 @@ false true false - false - false + false + false diff --git a/res/xml/micromax_default_workspace.xml b/res/xml/micromax_default_workspace.xml deleted file mode 100755 index 99d6db118..000000000 --- a/res/xml/micromax_default_workspace.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/res/xml/mmx_default_workspace.xml b/res/xml/mmx_default_workspace.xml new file mode 100755 index 000000000..99d6db118 --- /dev/null +++ b/res/xml/mmx_default_workspace.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + diff --git a/res/xml/smartfren_default_workspace.xml b/res/xml/smartfren_default_workspace.xml deleted file mode 100644 index 558ae2945..000000000 --- a/res/xml/smartfren_default_workspace.xml +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/xml/srf_default_workspace.xml b/res/xml/srf_default_workspace.xml new file mode 100644 index 000000000..558ae2945 --- /dev/null +++ b/res/xml/srf_default_workspace.xml @@ -0,0 +1,251 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/com/android/launcher3/DynamicGrid.java b/src/com/android/launcher3/DynamicGrid.java index fe0897c8e..a01dfa1c8 100644 --- a/src/com/android/launcher3/DynamicGrid.java +++ b/src/com/android/launcher3/DynamicGrid.java @@ -68,9 +68,9 @@ public class DynamicGrid { } else if (LauncherApplication.LAUNCHER_BACKUP_SHORTCUT_ENABLED) { fourByFourDefaultLayout = R.xml.cm_with_backup_default_workspace; } else if (LauncherApplication.LAUNCHER_MMX_SHORTCUT_ENABLED) { - fourByFourDefaultLayout = R.xml.micromax_default_workspace; + fourByFourDefaultLayout = R.xml.mmx_default_workspace; } else if (LauncherApplication.LAUNCHER_SFR_SHORTCUT_ENABLED) { - fourByFourDefaultLayout = R.xml.smartfren_default_workspace; + fourByFourDefaultLayout = R.xml.srf_default_workspace; } DEFAULT_ICON_SIZE_PX = pxFromDp(DEFAULT_ICON_SIZE_DP, dm); diff --git a/src/com/android/launcher3/LauncherApplication.java b/src/com/android/launcher3/LauncherApplication.java index 689f54d1f..751ff7930 100644 --- a/src/com/android/launcher3/LauncherApplication.java +++ b/src/com/android/launcher3/LauncherApplication.java @@ -37,9 +37,9 @@ public class LauncherApplication extends Application { LAUNCHER_BACKUP_SHORTCUT_ENABLED = getResources().getBoolean(R.bool.config_launcher_show_backup_shortcut); LAUNCHER_MMX_SHORTCUT_ENABLED = - getResources().getBoolean(R.bool.config_micromax_enabled); + getResources().getBoolean(R.bool.config_mmx_enabled); LAUNCHER_SFR_SHORTCUT_ENABLED = - getResources().getBoolean(R.bool.config_smartfren_enabled); + getResources().getBoolean(R.bool.config_srf_enabled); LauncherAppState.setApplicationContext(this); LauncherAppState.getInstance(); } -- cgit v1.2.3