cmsdk: Move NAVBAR_LEFT_IN_LANDSCAPE to CMSettings.
Change-Id: I415288feef8d32613f9a7f8bbe1b748eaa7d459d
This commit is contained in:
parent
5659f5355d
commit
1f6c75a4cf
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue