Open PhonHai opened 5 years ago
You should not compare a boolean with another boolean, but use the boolean !
operator (or nothing) instead.
Then, if this is an Activity, you should rather use
if (!YourActivity.this.isFinishing()) {
alertDialog.show();
}
adviced:
change: com.github.javiersantos.appupdater.AppUpdater
to