示例#1
0
 static {
   enabled = Utils.parsebool(Utils.getpref("bgmen", "true"), true);
 }
示例#2
0
 public static void enable(boolean enabled) {
   if (!enabled) play(null, false);
   Music.enabled = enabled;
   Utils.setpref("bgmen", Boolean.toString(enabled));
 }