Skip to content

Commit

Permalink
Merge pull request #342 from GuyMangkorn/fix-default-config-android
Browse files Browse the repository at this point in the history
fix: default config of auto_start_on_boot and is_foreground to false on Android
  • Loading branch information
ekasetiawans authored Aug 11, 2023
2 parents 98e2e8e + 5010465 commit bddb1d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public Config(Context context) {
}

public boolean isAutoStartOnBoot() {
return pref.getBoolean("auto_start_on_boot", true);
return pref.getBoolean("auto_start_on_boot", false);
}

public void setAutoStartOnBoot(boolean value) {
Expand All @@ -21,7 +21,7 @@ public void setAutoStartOnBoot(boolean value) {
}

public boolean isForeground() {
return pref.getBoolean("is_foreground", true);
return pref.getBoolean("is_foreground", false);
}

public void setIsForeground(boolean value) {
Expand Down

0 comments on commit bddb1d9

Please sign in to comment.