Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f9f48d4 authored by Jay Shrauner's avatar Jay Shrauner Committed by Android (Google) Code Review
Browse files

Merge "Fix ActivityNotFound crash" into lmp-mr1-dev

parents 593e5a7f 417309a7
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -375,7 +375,12 @@ public class QuickContactActivity extends ContactsActivity {
            getWindow().setDimAmount(mWindowScrim.getAlpha() / DEFAULT_SCRIM_ALPHA);

            mHasIntentLaunched = true;
            try {
                startActivity(intent);
            } catch (ActivityNotFoundException ex) {
                Toast.makeText(QuickContactActivity.this, R.string.missing_app,
                        Toast.LENGTH_SHORT).show();
            }
        }
    };