Make new networkAttribute parameter non-optional.
Dependencymet sets the default dep-met value for the network. Should be set to true unless you know what you're doing. Change-Id: Ifa3765a97615f5333da07bce9defdb8600275129
This commit is contained in:
@@ -60,11 +60,7 @@ public class NetworkConfig {
|
|||||||
type = Integer.parseInt(fragments[1]);
|
type = Integer.parseInt(fragments[1]);
|
||||||
radio = Integer.parseInt(fragments[2]);
|
radio = Integer.parseInt(fragments[2]);
|
||||||
priority = Integer.parseInt(fragments[3]);
|
priority = Integer.parseInt(fragments[3]);
|
||||||
if (fragments.length > 4) {
|
|
||||||
dependencyMet = Boolean.parseBoolean(fragments[4]);
|
dependencyMet = Boolean.parseBoolean(fragments[4]);
|
||||||
} else {
|
|
||||||
dependencyMet = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user