Add: Volume Changing to stop scripts, Fix: Automator ANR

This commit is contained in:
hyb1996
2017-03-20 16:04:59 +08:00
parent c9927a3ce3
commit 1f05bcce98
47 changed files with 497 additions and 141 deletions

View File

@@ -43,6 +43,11 @@ public class Pref {
return def().getBoolean(getString(R.string.key_use_volume_control_record), false);
}
public static boolean isRunningVolumeControlEnable() {
return def().getBoolean(getString(R.string.key_use_volume_control_running), false);
}
private static String getString(int id) {
return App.getApp().getString(id);
}
@@ -58,4 +63,5 @@ public class Pref {
public static boolean isFirstUsing() {
return getDisposableBoolean("isFirstUsing", true);
}
}