Skip to content

Commit

Permalink
Remove member variable initialization
Browse files Browse the repository at this point in the history
This is being injected by the instrumentationTests for mocking. So use that instead of creating an actual one.
  • Loading branch information
shobhitagarwal1612 committed Apr 13, 2019
1 parent 195721e commit 03dd5c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class ExStringWidget extends QuestionWidget implements BinaryWidget {
private final Button launchIntentButton;
private final Drawable textBackground;

private ActivityAvailability activityAvailability = new ActivityAvailability(getContext());
private ActivityAvailability activityAvailability;

public ExStringWidget(Context context, FormEntryPrompt prompt) {

Expand Down

0 comments on commit 03dd5c1

Please sign in to comment.