Advertisement
deadman96385

Untitled

Nov 20th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. /** This method returns the current activation status of high touch sensitivity
  2. *
  3. * @return boolean Must be false if high touch sensitivity is not supported or not activated,
  4. * or the operation failed while reading the status; true in any other case.
  5. */
  6. public static boolean isEnabled() {
  7. return (GLOVE_MODE_ENABLE + STATUS_OK).equals(FileUtils.readOneLine(COMMAND_RESULT_PATH));
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement