1
0
mirror of https://github.com/danog/termux-api.git synced 2024-11-30 04:19:20 +01:00

Fix minor Android Studio warning

This commit is contained in:
Fredrik Fornwall 2019-08-13 22:55:58 +02:00
parent 4954feb0df
commit 93ee860589

View File

@ -72,7 +72,7 @@ public class JobSchedulerAPI {
final boolean idle = intent.getBooleanExtra("idle", false);
final boolean storageNotLow = intent.getBooleanExtra("storage_not_low", false);
int networkTypeCode = JobInfo.NETWORK_TYPE_NONE;
int networkTypeCode;
if (networkType != null) {
switch (networkType) {
case "any":