From 2d905ce3fbfe90448397f05d6ba9e75b427d1625 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 4 Jul 2018 20:19:51 +0800 Subject: [PATCH] Don't popup changelogs on launch --- src/full/java/com/topjohnwu/magisk/MainActivity.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/full/java/com/topjohnwu/magisk/MainActivity.java b/src/full/java/com/topjohnwu/magisk/MainActivity.java index 584dd3272..75fa63866 100644 --- a/src/full/java/com/topjohnwu/magisk/MainActivity.java +++ b/src/full/java/com/topjohnwu/magisk/MainActivity.java @@ -15,7 +15,6 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; -import com.topjohnwu.magisk.asyncs.MarkDownWindow; import com.topjohnwu.magisk.components.Activity; import com.topjohnwu.magisk.utils.Const; import com.topjohnwu.magisk.utils.Topic; @@ -91,12 +90,6 @@ public class MainActivity extends Activity navigate(getIntent().getStringExtra(Const.Key.OPEN_SECTION)); navigationView.setNavigationItemSelectedListener(this); - - if (mm.prefs.getInt(Const.Key.APP_VER, -1) < BuildConfig.VERSION_CODE) { - mm.prefs.edit().putInt(Const.Key.APP_VER, BuildConfig.VERSION_CODE).apply(); - new MarkDownWindow(this, getString(R.string.app_changelog), - getResources().openRawResource(R.raw.changelog)).exec(); - } } @Override