cmsdk: Move RECENTS_SHOW_SEARCH_BAR to CMSettings.
Change-Id: Ie34d57b547eb27f4f7629ed6d1fd9cced0ce7fff
This commit is contained in:
parent
063c9854b2
commit
5659f5355d
|
@ -647,6 +647,13 @@ public class CMSettingsProvider extends ContentProvider {
|
|||
*/
|
||||
public static final String STATUS_BAR_SHOW_WEATHER =
|
||||
CMSettings.System.STATUS_BAR_SHOW_WEATHER;
|
||||
|
||||
/**
|
||||
* Show search bar in recents
|
||||
* @hide
|
||||
*/
|
||||
public static final String RECENTS_SHOW_SEARCH_BAR =
|
||||
CMSettings.System.RECENTS_SHOW_SEARCH_BAR;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -751,6 +758,8 @@ public class CMSettingsProvider extends ContentProvider {
|
|||
CMSettings.System.DOUBLE_TAP_SLEEP_GESTURE);
|
||||
systemToCmSettingsMap.put(LegacyCMSettings.STATUS_BAR_SHOW_WEATHER,
|
||||
CMSettings.System.STATUS_BAR_SHOW_WEATHER);
|
||||
systemToCmSettingsMap.put(LegacyCMSettings.RECENTS_SHOW_SEARCH_BAR,
|
||||
CMSettings.System.RECENTS_SHOW_SEARCH_BAR);
|
||||
|
||||
int rowsMigrated = migrateCMSettingsForTable(userId,
|
||||
CMDatabaseHelper.CMTableNames.TABLE_SYSTEM, systemToCmSettingsMap);
|
||||
|
|
|
@ -1037,6 +1037,12 @@ public final class CMSettings {
|
|||
* @hide
|
||||
*/
|
||||
public static final String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather";
|
||||
|
||||
/**
|
||||
* Show search bar in recents
|
||||
* @hide
|
||||
*/
|
||||
public static final String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue