diff --git a/briar-android/build.gradle b/briar-android/build.gradle index ac935511755db9e4f0a1f7828f72961fdb03a84c..81228e91863e36d784813798f1c84c57615a3254 100644 --- a/briar-android/build.gradle +++ b/briar-android/build.gradle @@ -97,7 +97,4 @@ android { lintOptions { abortOnError false } -} -dependencies { - compile 'cglib:cglib-nodep:3.1' } \ No newline at end of file diff --git a/briar-android/src/org/briarproject/android/SplashScreenActivity.java b/briar-android/src/org/briarproject/android/SplashScreenActivity.java index b79e605e1f38f6e4f6c8a1c091048677e70e9426..17fabc68c1afe98413a47782b5722f2e5ba953c8 100644 --- a/briar-android/src/org/briarproject/android/SplashScreenActivity.java +++ b/briar-android/src/org/briarproject/android/SplashScreenActivity.java @@ -92,8 +92,6 @@ public class SplashScreenActivity extends BaseActivity { } else { clearSharedPrefs(); AndroidUtils.deleteAppData(this); - FileUtils.deleteFileOrDir( - dbConfig.getDatabaseDirectory()); startActivity(new Intent(this, SetupActivity.class)); } } diff --git a/briar-android/src/org/briarproject/plugins/PluginsModuleExtension.java b/briar-android/src/org/briarproject/plugins/PluginsModuleExtension.java deleted file mode 100644 index 14a55180c8fc63ca6f8340ed52bef3c44ef36caf..0000000000000000000000000000000000000000 --- a/briar-android/src/org/briarproject/plugins/PluginsModuleExtension.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.briarproject.plugins; - -public class PluginsModuleExtension extends PluginsModule { - -// @Inject @Named("AndroidDuplexPluginConfig") -// DuplexPluginConfig duplexPluginConfig; - - public PluginsModuleExtension() { - - } - -// @Override -// SimplexPluginConfig provideSimplexPluginConfig() { -// return new SimplexPluginConfig() { -// public Collection<SimplexPluginFactory> getFactories() { -// return Collections.emptyList(); -// } -// }; -// } - -/* - @Override - public DuplexPluginConfig provideDuplexPluginConfig( - @IoExecutor Executor ioExecutor, AndroidExecutor androidExecutor, - SecureRandom random, BackoffFactory backoffFactory, - LocationUtils locationUtils, EventBus eventBus) { -// return duplexPluginConfig; -// @Inject @Named("AndroidDuplexPluginConfig") -// DuplexPluginConfig andoridDuplexPlugin; -// return andoridDuplexPlugin; -// } -*/ -} diff --git a/briar-core/src/org/briarproject/messaging/PrivateMessageValidator.java b/briar-core/src/org/briarproject/messaging/PrivateMessageValidator.java index ad1fcb81b7a0d76350699c9e729ebeacbf247d1b..550da3f9c77d7ab8eaebc9365105275a35cb23af 100644 --- a/briar-core/src/org/briarproject/messaging/PrivateMessageValidator.java +++ b/briar-core/src/org/briarproject/messaging/PrivateMessageValidator.java @@ -14,7 +14,7 @@ import org.briarproject.clients.BdfMessageValidator; import static org.briarproject.api.messaging.MessagingConstants.MAX_CONTENT_TYPE_LENGTH; import static org.briarproject.api.messaging.MessagingConstants.MAX_PRIVATE_MESSAGE_BODY_LENGTH; -public class PrivateMessageValidator extends BdfMessageValidator { +class PrivateMessageValidator extends BdfMessageValidator { PrivateMessageValidator(ClientHelper clientHelper, MetadataEncoder metadataEncoder, Clock clock) { diff --git a/briar-core/src/org/briarproject/plugins/PluginsModule.java b/briar-core/src/org/briarproject/plugins/PluginsModule.java index afdb970df2402e2c76777b9644a23cf8b439c80d..6f3357b8b5ac88229644c4a6eae3e38c7f283477 100644 --- a/briar-core/src/org/briarproject/plugins/PluginsModule.java +++ b/briar-core/src/org/briarproject/plugins/PluginsModule.java @@ -69,15 +69,5 @@ public class PluginsModule { lifecycleManager.register(pluginManager); return pluginManager; } -/* - @Provides - SimplexPluginConfig provideSimplexPluginConfig() { - return null; - } - @Provides - public DuplexPluginConfig provideDuplexPluginConfig() { - return null; - } - */ }