Skip to content

Commit

Permalink
Provide a default for --network (= "any")
Browse files Browse the repository at this point in the history
fixes #276
  • Loading branch information
xalexalex authored and fornwall committed Aug 7, 2019
1 parent 9ccc137 commit 53e6855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/termux/api/JobSchedulerAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ static void onReceive(TermuxApiReceiver apiReceiver, Context context, Intent int
networkTypeCode = JobInfo.NETWORK_TYPE_NONE;
break;
}
} else { // networkType == null
networkTypeCode = JobInfo.NETWORK_TYPE_ANY;
}


Expand Down

0 comments on commit 53e6855

Please sign in to comment.