Merge branch 'fix_uninstall_crash' into 'master'
fixes a crash that can be triggered when uninstalling with privext See merge request fdroid/fdroidclient!888
This commit is contained in:
commit
4031df22f4
@ -591,7 +591,7 @@ public class AppDetailsActivity extends AppCompatActivity
|
||||
String errorMessage =
|
||||
intent.getStringExtra(Installer.EXTRA_ERROR_MESSAGE);
|
||||
|
||||
if (!TextUtils.isEmpty(errorMessage)) {
|
||||
if (!TextUtils.isEmpty(errorMessage) && !isFinishing()) {
|
||||
Log.e(TAG, "uninstall aborted with errorMessage: " + errorMessage);
|
||||
|
||||
AlertDialog.Builder alertBuilder = new AlertDialog.Builder(AppDetailsActivity.this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user