summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2024-12-07 16:16:02 +0100
committercyberta <cyberta@riseup.net>2024-12-11 00:09:34 +0000
commit984972ffab4dd0bc9bf71ef21bd56963d598c101 (patch)
tree52190de4aa64600e47fe8924cacc60311c072ca4 /app
parent7d11db8683f8a1347e952c8ddded787e99cddc52 (diff)
add javadoc to BitmaskCoreProvider
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/utils/BitmaskCoreProvider.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/utils/BitmaskCoreProvider.java b/app/src/main/java/se/leap/bitmaskclient/base/utils/BitmaskCoreProvider.java
index 9cd2a747..77cf9cf0 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/utils/BitmaskCoreProvider.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/utils/BitmaskCoreProvider.java
@@ -6,6 +6,12 @@ import mobilemodels.BitmaskMobileCore;
public class BitmaskCoreProvider {
private static BitmaskMobileCore customMobileCore;
+
+ /**
+ * Returns an empty BitmaskMobile instance, which can be currently only used to access
+ * bitmask-core's persistence layer API
+ * @return BitmaskMobileCore interface
+ */
public static BitmaskMobileCore getBitmaskMobile() {
if (customMobileCore == null) {
return new BitmaskMobile(new PreferenceHelper.SharedPreferenceStore());