diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/WindowWidget.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/WindowWidget.java index 92ca24e52..34d8267f1 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/WindowWidget.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/WindowWidget.java @@ -5,10 +5,9 @@ package org.mozilla.vrbrowser.ui.widgets; -import android.content.ActivityNotFoundException; import android.content.Context; -import android.content.SharedPreferences; import android.content.Intent; +import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.graphics.Canvas; @@ -1720,7 +1719,7 @@ public void onExternalResponse(@NonNull GeckoSession geckoSession, @NonNull Geck if (index == PromptDialogWidget.POSITIVE) { try { getContext().startActivity(newIntent); - } catch (ActivityNotFoundException ignored) { + } catch (Exception ignored) { showAlert( getResources().getString(R.string.download_open_file_error_title), getResources().getString(R.string.download_open_file_error_body),