Use annotation processing in Otto

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

No files matched your search

@@ -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;
}