Actions
Bug #730
closedCrash when exiting settings if a proxy dialog is displayed
Start date:
06/03/2021
Due date:
% Done:
0%
Estimated time:
Description
This happens if either Tor or I2P proxying is enabled and the indicated app is not installed.
This is caused by line 4308, 4318, or 4345 in MainWebViewActivity:
i2pNotInstalledDialogFragment.show(getSupportFragmentManager(), getString(R.string.proxy_not_installed_dialog));
Which causes a `Can not perform this action after onSaveInstanceState` error.
It looks like it is just attempting to display the dialog too quickly.
Updated by Soren Stoutner over 3 years ago
We can probably use a similar fix as https://redmine.stoutner.com/issues/663.
Updated by Soren Stoutner over 3 years ago
- Status changed from New to Closed
It turns out that the previous fix trying to detect if the activity window was active and running the `wait()` command no longer worked with target API 30, so all the previous fixes were broken. I implemented a more robust fix that stores pending dialogs in an array and displays them in `onStart()`.
Actions