import rx.functions.Func1;
public final class TakePhoto extends UseCase<Uri> {
private static final int READ_WRITE_PERMISSIONS = Intent.FLAG_GRANT_READ_URI_PERMISSION
| Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
private final StartIntent startIntent;
<BUG>private final TargetUi targetUi;
public TakePhoto(StartIntent startIntent, TargetUi targetUi) {
</BUG>
this.startIntent = startIntent;
<BUG>this.targetUi = targetUi;
}</BUG>
@Override public Observable<Uri> react() {

import rx.functions.Func1;
public final class TakePhoto extends UseCase<Uri> {
private static final int READ_WRITE_PERMISSIONS = Intent.FLAG_GRANT_READ_URI_PERMISSION
| Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
private final StartIntent startIntent;
private final TargetUi targetUi;
private final ImageUtils imageUtils;
public TakePhoto(StartIntent startIntent, TargetUi targetUi, ImageUtils imageUtils) {
this.startIntent = startIntent;
this.targetUi = targetUi;
this.imageUtils = imageUtils;
}
@Override public Observable<Uri> react() {
