null check for target fragment in dialog
This commit is contained in:
parent
dbdfef7b21
commit
ceda1a3167
1 changed files with 1 additions and 2 deletions
|
@ -71,8 +71,7 @@ public class DialogHelper extends DialogFragment implements TrackbookKeys {
|
|||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
dialogBuilder.setNegativeButton(negativeButton,
|
||||
); dialogBuilder.setNegativeButton(negativeButton,
|
||||
new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int whichButton) {
|
||||
Fragment target = getTargetFragment();
|
||||
|
|
Loading…
Reference in a new issue