echo写节点执行失败时,可以试下如下方法:
public static void setDualClickWakeEnable(boolean enable) {
try {
FileOutputStream out = new FileOutputStream("/sys/touchscreen/gestureflag");
out.write((enable ? "1" : "0").getBytes());
out.close();
} catch (Exception e) {
e.printStackTrace();
}
}