[app] Fix log reader crash (#77)

https://github.com/LSPosed/LSPosed/issues/58#issuecomment-774026586
This commit is contained in:
tehcneko 2021-02-05 21:42:05 +08:00 committed by GitHub
parent 16c03275ef
commit 3f87a49fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -238,7 +238,9 @@ public class LogsActivity extends BaseActivity {
private final Runnable mRunnable = new Runnable() {
@Override
public void run() {
mProgressDialog.show();
if (!isFinishing()) {
mProgressDialog.show();
}
}
};