cmsdk: Move DOUBLE_TAP_SLEEP_GESTURE to CMSettings.
Change-Id: I88b255a5ddeff9520905c4a8b612c9fdbf3b4411
This commit is contained in:
parent
a09defa3c9
commit
6694ce0ca0
|
@ -633,6 +633,13 @@ public class CMSettingsProvider extends ContentProvider {
|
|||
* @hide
|
||||
*/
|
||||
public static final String LIVE_DISPLAY_HINTED = CMSettings.System.LIVE_DISPLAY_HINTED;
|
||||
|
||||
/**
|
||||
* Enable statusbar double tap gesture on to put device to sleep
|
||||
* @hide
|
||||
*/
|
||||
public static final String DOUBLE_TAP_SLEEP_GESTURE =
|
||||
CMSettings.System.DOUBLE_TAP_SLEEP_GESTURE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -733,6 +740,8 @@ public class CMSettingsProvider extends ContentProvider {
|
|||
CMSettings.System.DISPLAY_COLOR_ADJUSTMENT);
|
||||
systemToCmSettingsMap.put(LegacyCMSettings.LIVE_DISPLAY_HINTED,
|
||||
CMSettings.System.LIVE_DISPLAY_HINTED);
|
||||
systemToCmSettingsMap.put(LegacyCMSettings.DOUBLE_TAP_SLEEP_GESTURE,
|
||||
CMSettings.System.DOUBLE_TAP_SLEEP_GESTURE);
|
||||
|
||||
int rowsMigrated = migrateCMSettingsForTable(userId,
|
||||
CMDatabaseHelper.CMTableNames.TABLE_SYSTEM, systemToCmSettingsMap);
|
||||
|
|
|
@ -1026,6 +1026,12 @@ public final class CMSettings {
|
|||
*/
|
||||
public static final String LIVE_DISPLAY_HINTED = "live_display_hinted";
|
||||
|
||||
/**
|
||||
* Enable statusbar double tap gesture on to put device to sleep
|
||||
* @hide
|
||||
*/
|
||||
public static final String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue