diff --git a/app/src/main/java/com/topjohnwu/magisk/utils/Utils.java b/app/src/main/java/com/topjohnwu/magisk/utils/Utils.java index cc7d9f068..ffb730240 100644 --- a/app/src/main/java/com/topjohnwu/magisk/utils/Utils.java +++ b/app/src/main/java/com/topjohnwu/magisk/utils/Utils.java @@ -116,6 +116,8 @@ public class Utils { if (Config.get(Config.Key.CHECK_UPDATES)) { Constraints constraints = new Constraints.Builder() .setRequiredNetworkType(NetworkType.CONNECTED) + //ensures that notification doesn't pop up every time user starts the app + .setRequiresDeviceIdle(true) .build(); Class service = (Class) ClassMap.get(UpdateCheckService.class); PeriodicWorkRequest request = new PeriodicWorkRequest