summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-08-09 09:28:16 +0000
committercyberta <cyberta@riseup.net>2022-08-09 09:28:16 +0000
commitf6ddf565a07f102d550a34674f0edbfddcfe8453 (patch)
tree5bb2977470384409e3be335f407216e10a20f374
parent8e0fa913e098087d73f8ce63888b2213c2c63741 (diff)
parentbf9bcef62d9da953ca8e34c0e49ea384dde967fe (diff)
Merge branch 'fix_system_propoerties_check' into 'master'
fix check if system properties exist, take empty strings into consideration See merge request leap/bitmask_android!207
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/utils/SystemPropertiesHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/utils/SystemPropertiesHelper.java b/app/src/main/java/se/leap/bitmaskclient/base/utils/SystemPropertiesHelper.java
index b148f685..ecef77d6 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/utils/SystemPropertiesHelper.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/utils/SystemPropertiesHelper.java
@@ -30,7 +30,7 @@ public class SystemPropertiesHelper {
e.printStackTrace();
}
- return result != null;
+ return result != null && !result.isEmpty();
}
}