Use annotation processing in Otto

This commit is contained in:
serso
2016-01-26 22:36:14 +01:00
parent 362ec885fe
commit 59e4a15bd2
5 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import android.os.Looper;
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
import com.squareup.otto.Bus;
import com.squareup.otto.GeneratedHandlerFinder;
import dagger.Module;
import dagger.Provides;
import jscl.JsclMathEngine;
@@ -119,6 +120,7 @@ public class AppModule {
private final Handler handler;
public AppBus(@Nonnull Handler handler) {
super(new GeneratedHandlerFinder());
this.handler = handler;
}