Skip to content

Commit

Permalink
Autofixes for migrating to Buck's source-only ABI feature
Browse files Browse the repository at this point in the history
Reviewed By: asp2insp

Differential Revision: D6441284

fbshipit-source-id: cfc96c5eb93a7260705fabc361763405c9fb38c6
  • Loading branch information
jkeljo authored and facebook-github-bot committed Dec 2, 2017
1 parent c544c0d commit 801cbdb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

package com.facebook.react.modules.datepicker;

import android.app.DatePickerDialog;
import javax.annotation.Nullable;

import android.app.DatePickerDialog;
Expand All @@ -29,7 +30,7 @@ public class DismissableDatePickerDialog extends DatePickerDialog {

public DismissableDatePickerDialog(
Context context,
@Nullable OnDateSetListener callback,
@Nullable DatePickerDialog.OnDateSetListener callback,
int year,
int monthOfYear,
int dayOfMonth) {
Expand All @@ -39,7 +40,7 @@ public DismissableDatePickerDialog(
public DismissableDatePickerDialog(
Context context,
int theme,
@Nullable OnDateSetListener callback,
@Nullable DatePickerDialog.OnDateSetListener callback,
int year,
int monthOfYear,
int dayOfMonth) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

package com.facebook.react.modules.fresco;

import com.facebook.imagepipeline.producers.NetworkFetcher;
import com.facebook.imagepipeline.backends.okhttp3.OkHttpNetworkFetcher;
import android.net.Uri;
import android.os.SystemClock;

Expand Down Expand Up @@ -57,7 +59,7 @@ private Map<String, String> getHeaders(ReadableMap readableMap) {
}

@Override
public void fetch(final OkHttpNetworkFetchState fetchState, final Callback callback) {
public void fetch(final OkHttpNetworkFetcher.OkHttpNetworkFetchState fetchState, final NetworkFetcher.Callback callback) {
fetchState.submitTime = SystemClock.elapsedRealtime();
final Uri uri = fetchState.getUri();
Map<String, String> requestHeaders = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

package com.facebook.react.modules.timepicker;

import android.app.TimePickerDialog;
import javax.annotation.Nullable;

import android.app.TimePickerDialog;
Expand All @@ -31,7 +32,7 @@ public class DismissableTimePickerDialog extends TimePickerDialog {

public DismissableTimePickerDialog(
Context context,
@Nullable OnTimeSetListener callback,
@Nullable TimePickerDialog.OnTimeSetListener callback,
int hourOfDay,
int minute,
boolean is24HourView) {
Expand All @@ -41,7 +42,7 @@ public DismissableTimePickerDialog(
public DismissableTimePickerDialog(
Context context,
int theme,
@Nullable OnTimeSetListener callback,
@Nullable TimePickerDialog.OnTimeSetListener callback,
int hourOfDay,
int minute,
boolean is24HourView) {
Expand Down

0 comments on commit 801cbdb

Please sign in to comment.