mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-29 09:11:31 -05:00
fix crasher when hopping around apps and adding repos
I triggered this a few times while trying various QR Code scanning apps with FDroid. fixes #3222 https://dev.guardianproject.info/issues/3222
This commit is contained in:
@@ -257,7 +257,7 @@ public class FDroid extends FragmentActivity {
|
||||
case REQUEST_APPDETAILS:
|
||||
break;
|
||||
case REQUEST_MANAGEREPOS:
|
||||
if (data.hasExtra(ManageRepo.REQUEST_UPDATE)) {
|
||||
if (data != null && data.hasExtra(ManageRepo.REQUEST_UPDATE)) {
|
||||
AlertDialog.Builder ask_alrt = new AlertDialog.Builder(this);
|
||||
ask_alrt.setTitle(getString(R.string.repo_update_title));
|
||||
ask_alrt.setIcon(android.R.drawable.ic_menu_rotate);
|
||||
|
||||
Reference in New Issue
Block a user