From 4eb54afce03d91c36255d2f1104c93580b1aac7d Mon Sep 17 00:00:00 2001 From: AdrianDC Date: Tue, 20 Oct 2015 17:05:32 +0200 Subject: HighTouchSensitivity [1/2]: Add Settings preference * Allows the HighTouchSensitivity (Glove mode) value to be saved in the CMSettings provider * Can be used in a device specific service to handle the Glove mode in a way closer to the device's vendor * Changes include : android_packages_apps_Settings cm_platform_sdk Change-Id: Ib3cb8c4c67fb2397136ccfdf08cd8e7d938e898d Signed-off-by: AdrianDC --- src/java/cyanogenmod/providers/CMSettings.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/java') diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java index 946aeba..2785b19 100644 --- a/src/java/cyanogenmod/providers/CMSettings.java +++ b/src/java/cyanogenmod/providers/CMSettings.java @@ -596,6 +596,14 @@ public final class CMSettings { public static final String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; /** + * Whether the HighTouchSensitivity is activated or not. + * 0 = off, 1 = on + * @hide + */ + public static final String HIGH_TOUCH_SENSITIVITY_ENABLE = + "high_touch_sensitivity_enable"; + + /** * Show the pending notification counts as overlays on the status bar * @hide */ -- cgit v1.1