mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 14:49:53 +01:00
branch cleanup
This commit is contained in:
@@ -97,7 +97,4 @@ android {
|
|||||||
lintOptions {
|
lintOptions {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
compile 'cglib:cglib-nodep:3.1'
|
|
||||||
}
|
}
|
||||||
@@ -92,8 +92,6 @@ public class SplashScreenActivity extends BaseActivity {
|
|||||||
} else {
|
} else {
|
||||||
clearSharedPrefs();
|
clearSharedPrefs();
|
||||||
AndroidUtils.deleteAppData(this);
|
AndroidUtils.deleteAppData(this);
|
||||||
FileUtils.deleteFileOrDir(
|
|
||||||
dbConfig.getDatabaseDirectory());
|
|
||||||
startActivity(new Intent(this, SetupActivity.class));
|
startActivity(new Intent(this, SetupActivity.class));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
|
||||||
// }
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
@@ -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_CONTENT_TYPE_LENGTH;
|
||||||
import static org.briarproject.api.messaging.MessagingConstants.MAX_PRIVATE_MESSAGE_BODY_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,
|
PrivateMessageValidator(ClientHelper clientHelper,
|
||||||
MetadataEncoder metadataEncoder, Clock clock) {
|
MetadataEncoder metadataEncoder, Clock clock) {
|
||||||
|
|||||||
@@ -69,15 +69,5 @@ public class PluginsModule {
|
|||||||
lifecycleManager.register(pluginManager);
|
lifecycleManager.register(pluginManager);
|
||||||
return pluginManager;
|
return pluginManager;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
@Provides
|
|
||||||
SimplexPluginConfig provideSimplexPluginConfig() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Provides
|
|
||||||
public DuplexPluginConfig provideDuplexPluginConfig() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user