mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Remove BlogPersistentData
This commit is contained in:
@@ -4,7 +4,6 @@ import android.app.Application;
|
||||
|
||||
import org.briarproject.android.api.AndroidNotificationManager;
|
||||
import org.briarproject.android.api.ReferenceManager;
|
||||
import org.briarproject.android.blogs.BlogPersistentData;
|
||||
import org.briarproject.android.forum.ForumPersistentData;
|
||||
import org.briarproject.api.crypto.CryptoComponent;
|
||||
import org.briarproject.api.crypto.PublicKey;
|
||||
@@ -65,13 +64,13 @@ public class AppModule {
|
||||
}
|
||||
|
||||
@Provides
|
||||
public UiCallback provideUICallback() {
|
||||
UiCallback provideUICallback() {
|
||||
return uiCallback;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
public DatabaseConfig provideDatabaseConfig(Application app) {
|
||||
DatabaseConfig provideDatabaseConfig(Application app) {
|
||||
final File dir = app.getApplicationContext().getDir("db", MODE_PRIVATE);
|
||||
return new DatabaseConfig() {
|
||||
|
||||
@@ -103,7 +102,7 @@ public class AppModule {
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
public DevConfig provideDevConfig(final CryptoComponent crypto) {
|
||||
DevConfig provideDevConfig(final CryptoComponent crypto) {
|
||||
return new DevConfig() {
|
||||
|
||||
@Override
|
||||
@@ -144,10 +143,4 @@ public class AppModule {
|
||||
ForumPersistentData provideForumPersistence() {
|
||||
return new ForumPersistentData();
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
BlogPersistentData provideBlogPersistence() {
|
||||
return new BlogPersistentData();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user