cmsdk: Move STATUS_BAR_SHOW_WEATHER to CMSettings.
Change-Id: I792e8d04c1b70749db78f0bd5142d489aebd6d51
This commit is contained in:
parent
6694ce0ca0
commit
063c9854b2
@ -640,6 +640,13 @@ public class CMSettingsProvider extends ContentProvider {
|
||||
*/
|
||||
public static final String DOUBLE_TAP_SLEEP_GESTURE =
|
||||
CMSettings.System.DOUBLE_TAP_SLEEP_GESTURE;
|
||||
|
||||
/**
|
||||
* Boolean value on whether to show weather in the statusbar
|
||||
* @hide
|
||||
*/
|
||||
public static final String STATUS_BAR_SHOW_WEATHER =
|
||||
CMSettings.System.STATUS_BAR_SHOW_WEATHER;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -742,6 +749,8 @@ public class CMSettingsProvider extends ContentProvider {
|
||||
CMSettings.System.LIVE_DISPLAY_HINTED);
|
||||
systemToCmSettingsMap.put(LegacyCMSettings.DOUBLE_TAP_SLEEP_GESTURE,
|
||||
CMSettings.System.DOUBLE_TAP_SLEEP_GESTURE);
|
||||
systemToCmSettingsMap.put(LegacyCMSettings.STATUS_BAR_SHOW_WEATHER,
|
||||
CMSettings.System.STATUS_BAR_SHOW_WEATHER);
|
||||
|
||||
int rowsMigrated = migrateCMSettingsForTable(userId,
|
||||
CMDatabaseHelper.CMTableNames.TABLE_SYSTEM, systemToCmSettingsMap);
|
||||
|
@ -1032,6 +1032,11 @@ public final class CMSettings {
|
||||
*/
|
||||
public static final String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
|
||||
|
||||
/**
|
||||
* Boolean value on whether to show weather in the statusbar
|
||||
* @hide
|
||||
*/
|
||||
public static final String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user