cmsdk: Move NAVBAR_LEFT_IN_LANDSCAPE to CMSettings.

Change-Id: I415288feef8d32613f9a7f8bbe1b748eaa7d459d
This commit is contained in:
Adnan Begovic 2015-11-11 13:31:46 -08:00
parent 5659f5355d
commit 1f6c75a4cf
2 changed files with 15 additions and 0 deletions

View File

@ -654,6 +654,13 @@ public class CMSettingsProvider extends ContentProvider {
*/
public static final String RECENTS_SHOW_SEARCH_BAR =
CMSettings.System.RECENTS_SHOW_SEARCH_BAR;
/**
* Whether navigation bar is placed on the left side in landscape mode
* @hide
*/
public static final String NAVBAR_LEFT_IN_LANDSCAPE =
CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE;
}
/**
@ -760,6 +767,8 @@ public class CMSettingsProvider extends ContentProvider {
CMSettings.System.STATUS_BAR_SHOW_WEATHER);
systemToCmSettingsMap.put(LegacyCMSettings.RECENTS_SHOW_SEARCH_BAR,
CMSettings.System.RECENTS_SHOW_SEARCH_BAR);
systemToCmSettingsMap.put(LegacyCMSettings.NAVBAR_LEFT_IN_LANDSCAPE,
CMSettings.System.NAVBAR_LEFT_IN_LANDSCAPE);
int rowsMigrated = migrateCMSettingsForTable(userId,
CMDatabaseHelper.CMTableNames.TABLE_SYSTEM, systemToCmSettingsMap);

View File

@ -1043,6 +1043,12 @@ public final class CMSettings {
* @hide
*/
public static final String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
/**
* Whether navigation bar is placed on the left side in landscape mode
* @hide
*/
public static final String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
}
/**