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:
parent
407e7662e9
commit
c1d0ec43c3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user