|
|
@ -41,7 +41,7 @@ public enum NotificationType implements NotificationTypeCst {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
MAGISK_OUTDATED(R.string.magisk_outdated, R.drawable.ic_baseline_update_24, v -> {
|
|
|
|
MAGISK_OUTDATED(R.string.magisk_outdated, R.drawable.ic_baseline_update_24, v -> {
|
|
|
|
IntentHelper.openUrl(v.getContext(), "https://github.com/topjohnwu/Magisk");
|
|
|
|
IntentHelper.openUrl(v.getContext(), "https://github.com/topjohnwu/Magisk/releases");
|
|
|
|
}) {
|
|
|
|
}) {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean shouldRemove() {
|
|
|
|
public boolean shouldRemove() {
|
|
|
@ -118,7 +118,7 @@ public enum NotificationType implements NotificationTypeCst {
|
|
|
|
InstallerInitializer.peekMagiskPath() == null);
|
|
|
|
InstallerInitializer.peekMagiskPath() == null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}, true) {
|
|
|
|
}, false) {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean shouldRemove() {
|
|
|
|
public boolean shouldRemove() {
|
|
|
|
return !BuildConfig.DEBUG &&
|
|
|
|
return !BuildConfig.DEBUG &&
|
|
|
|