Small fix

This commit is contained in:
topjohnwu 2017-09-06 15:42:45 +08:00
parent 62f42b72f8
commit f7df17a7ed

View File

@ -65,9 +65,9 @@ public class CheckUpdates extends ParallelTask<Void, Void, Void> {
if (mm == null) return;
if (showNotification && mm.updateNotification) {
if (BuildConfig.VERSION_CODE < mm.remoteManagerVersionCode) {
Utils.showManagerUpdate(mm);
Utils.showManagerUpdateNotification(mm);
} else if (mm.magiskVersionCode < mm.remoteMagiskVersionCode) {
Utils.showMagiskUpdate(mm);
Utils.showMagiskUpdateNotification(mm);
}
}
mm.updateCheckDone.publish();