ctx = context;
}
- public void loadModule() {
- _loadModule();
+ public void setAllValues() {
setDelay(getSavedDelay());
setSettle(getSavedSettle());
setPoll(getSavedPoll());
}
+ public void loadModule() {
+ _loadModule();
+ setAllValues();
+ }
+
protected void runAsRoot(String command) throws java.io.IOException,java.lang.InterruptedException {
Process rootcmd = Runtime.getRuntime().exec(new String[]{"su","-c","sh"});
DataOutputStream sh = new DataOutputStream(rootcmd.getOutputStream());