We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b25baab + 66692b6 commit ffc372eCopy full SHA for ffc372e
1 file changed
android/src/main/java/com/RNFetchBlob/RNFetchBlob.java
@@ -121,8 +121,6 @@ public void actionViewIntent(String path, String mime, final Promise promise) {
121
// All the activity to be opened outside of an activity
122
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
123
124
- // All the activity to be opened outside of an activity
125
- intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
126
// Validate that the device can open the file
127
PackageManager pm = getCurrentActivity().getPackageManager();
128
if (intent.resolveActivity(pm) != null) {
0 commit comments