diff --git a/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java b/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java index 51c0e61281fb91..637ce489ea6044 100644 --- a/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java +++ b/packages/react-native-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java @@ -147,7 +147,7 @@ public interface OnMediaLibraryButtonListener { void onCancelUploadForMediaClicked(int mediaId); void onCancelUploadForMediaDueToDeletedBlock(int mediaId); ArrayList onGetOtherMediaImageOptions(); - ArrayList onGetOtherMediaDocumentOptions(); + ArrayList onGetOtherMediaFileOptions(); void onOtherMediaButtonClicked(String mediaSource, boolean allowMultipleSelection); } @@ -354,8 +354,8 @@ public void getOtherMediaPickerOptions(OtherMediaOptionsReceivedCallback otherMe ArrayList otherMediaImageOptions = mOnMediaLibraryButtonListener.onGetOtherMediaImageOptions(); otherMediaOptionsReceivedCallback.onOtherMediaOptionsReceived(otherMediaImageOptions); } else { - ArrayList otherMediaDocumentOptions = mOnMediaLibraryButtonListener.onGetOtherMediaDocumentOptions(); - otherMediaOptionsReceivedCallback.onOtherMediaOptionsReceived(otherMediaDocumentOptions); + ArrayList otherMediaFileOptions = mOnMediaLibraryButtonListener.onGetOtherMediaFileOptions(); + otherMediaOptionsReceivedCallback.onOtherMediaOptionsReceived(otherMediaFileOptions); } }