summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2014-09-10 01:39:29 +0300
committerMichael Bestas <mikeioannina@gmail.com>2014-09-10 01:39:29 +0300
commit4acfb64e4b16216e0a82897227b0e031469a258a (patch)
treecfb5071ff8651bce9e1b5117fa0e4efee4837571
parentc307809036a713fb1247d2e340af699f19813a2d (diff)
downloadandroid_hardware_lineage_lineagehw-4acfb64e4b16216e0a82897227b0e031469a258a.tar.gz
android_hardware_lineage_lineagehw-4acfb64e4b16216e0a82897227b0e031469a258a.tar.bz2
android_hardware_lineage_lineagehw-4acfb64e4b16216e0a82897227b0e031469a258a.zip
Fix HighTouchSensivity (2/2)
Change-Id: Ic46d29eeb875eaf9d9f04b8595f9f07bb6ebbd1d
-rw-r--r--src/org/cyanogenmod/hardware/HighTouchSensitivity.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/cyanogenmod/hardware/HighTouchSensitivity.java b/src/org/cyanogenmod/hardware/HighTouchSensitivity.java
index c8de1a4..2438592 100644
--- a/src/org/cyanogenmod/hardware/HighTouchSensitivity.java
+++ b/src/org/cyanogenmod/hardware/HighTouchSensitivity.java
@@ -29,6 +29,14 @@ public class HighTouchSensitivity {
public static boolean isSupported() { return false; }
/**
+ * This method return the current activation status of high touch sensitivity
+ *
+ * @return boolean Must be false if high touch sensitivity is not supported or not activated,
+ * or the operation failed while reading the status; true in any other case.
+ */
+ public static boolean isEnabled() { return false; }
+
+ /**
* This method allows to setup high touch sensitivity status.
*
* @param status The new high touch sensitivity status