diff --git a/android/src/main/java/com/RNFetchBlob/RNFetchBlob.java b/android/src/main/java/com/RNFetchBlob/RNFetchBlob.java index 42e9f6e4a..602d51d33 100644 --- a/android/src/main/java/com/RNFetchBlob/RNFetchBlob.java +++ b/android/src/main/java/com/RNFetchBlob/RNFetchBlob.java @@ -121,8 +121,6 @@ public void actionViewIntent(String path, String mime, final Promise promise) { // All the activity to be opened outside of an activity intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - // All the activity to be opened outside of an activity - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // Validate that the device can open the file PackageManager pm = getCurrentActivity().getPackageManager(); if (intent.resolveActivity(pm) != null) {