diff options
author | cyBerta <cyberta@riseup.net> | 2022-08-09 01:35:43 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-08-09 01:35:43 +0200 |
commit | bf9bcef62d9da953ca8e34c0e49ea384dde967fe (patch) | |
tree | 5bb2977470384409e3be335f407216e10a20f374 /app/src/main/java/se | |
parent | 8e0fa913e098087d73f8ce63888b2213c2c63741 (diff) |
fix check if system properties exist, take empty strings into consideration
Diffstat (limited to 'app/src/main/java/se')
-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(); } } |