diff options
author | cyberta <cyberta@riseup.net> | 2022-08-09 09:28:16 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-08-09 09:28:16 +0000 |
commit | f6ddf565a07f102d550a34674f0edbfddcfe8453 (patch) | |
tree | 5bb2977470384409e3be335f407216e10a20f374 | |
parent | 8e0fa913e098087d73f8ce63888b2213c2c63741 (diff) | |
parent | bf9bcef62d9da953ca8e34c0e49ea384dde967fe (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.java | 2 |
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(); } } |