ConstraintsHelper: Fix checking for a boolean system property
Change-Id: I62b9e1cc8a4896062a3ffddbf2c33c566fd592dc
This commit is contained in:
committed by
Bruno Martins
parent
bbc2643632
commit
d58f2db1d9
@@ -192,7 +192,7 @@ public class ConstraintsHelper {
|
||||
if (rProperty != null) {
|
||||
boolean negated = isNegated(rProperty);
|
||||
if (negated) {
|
||||
rProperty = rFeature.substring(1);
|
||||
rProperty = rProperty.substring(1);
|
||||
}
|
||||
String value = SystemProperties.get(rProperty);
|
||||
boolean available = value != null && Boolean.parseBoolean(value);
|
||||
|
||||
Reference in New Issue
Block a user