summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-08-09 01:35:43 +0200
committercyBerta <cyberta@riseup.net>2022-08-09 01:35:43 +0200
commitbf9bcef62d9da953ca8e34c0e49ea384dde967fe (patch)
tree5bb2977470384409e3be335f407216e10a20f374 /app/src/main/java/se
parent8e0fa913e098087d73f8ce63888b2213c2c63741 (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.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();
}
}