From 59febe112d7399a9c01d46bc4e3d5f75e7cc28cd Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Wed, 11 Nov 2015 15:05:38 -0800 Subject: cmsdk: Move T9_SEARCH_INPUT_LOCALE to CMSettings. Change-Id: I446ecc4e2b5981a86218fa8867ab771d422dce21 --- .../src/org/cyanogenmod/cmsettings/CMSettingsProvider.java | 9 +++++++++ src/java/cyanogenmod/providers/CMSettings.java | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java index 167eaa0..5a6b891 100644 --- a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java +++ b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java @@ -661,6 +661,13 @@ public class CMSettingsProvider extends ContentProvider { */ public static final String NAVBAR_LEFT_IN_LANDSCAPE = CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE; + + /** + * Locale for secondary overlay on dialer for t9 search input + * @hide + */ + public static final String T9_SEARCH_INPUT_LOCALE = + CMSettings.System.T9_SEARCH_INPUT_LOCALE; } /** @@ -769,6 +776,8 @@ public class CMSettingsProvider extends ContentProvider { CMSettings.System.RECENTS_SHOW_SEARCH_BAR); systemToCmSettingsMap.put(LegacyCMSettings.NAVBAR_LEFT_IN_LANDSCAPE, CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE); + systemToCmSettingsMap.put(LegacyCMSettings.T9_SEARCH_INPUT_LOCALE, + CMSettings.System.T9_SEARCH_INPUT_LOCALE); int rowsMigrated = migrateCMSettingsForTable(userId, CMDatabaseHelper.CMTableNames.TABLE_SYSTEM, systemToCmSettingsMap); diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java index 30df7f3..8418997 100644 --- a/src/java/cyanogenmod/providers/CMSettings.java +++ b/src/java/cyanogenmod/providers/CMSettings.java @@ -1049,6 +1049,12 @@ public final class CMSettings { * @hide */ public static final String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; + + /** + * Locale for secondary overlay on dialer for t9 search input + * @hide + */ + public static final String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; } /** -- cgit v1.1