Loading src/com/android/contacts/quickcontact/QuickContactActivity.java +6 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,7 @@ import com.android.contacts.widget.QuickContactImageView; import com.google.common.collect.Lists; import com.google.common.collect.ImmutableList; import java.lang.SecurityException; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; Loading Loading @@ -417,6 +418,11 @@ public class QuickContactActivity extends ContactsActivity { mHasIntentLaunched = true; try { startActivity(intent); } catch (SecurityException ex) { Toast.makeText(QuickContactActivity.this, R.string.missing_app, Toast.LENGTH_SHORT).show(); Log.e(TAG, "QuickContacts does not have permission to launch " + intent); } catch (ActivityNotFoundException ex) { Toast.makeText(QuickContactActivity.this, R.string.missing_app, Toast.LENGTH_SHORT).show(); Loading Loading
src/com/android/contacts/quickcontact/QuickContactActivity.java +6 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,7 @@ import com.android.contacts.widget.QuickContactImageView; import com.google.common.collect.Lists; import com.google.common.collect.ImmutableList; import java.lang.SecurityException; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; Loading Loading @@ -417,6 +418,11 @@ public class QuickContactActivity extends ContactsActivity { mHasIntentLaunched = true; try { startActivity(intent); } catch (SecurityException ex) { Toast.makeText(QuickContactActivity.this, R.string.missing_app, Toast.LENGTH_SHORT).show(); Log.e(TAG, "QuickContacts does not have permission to launch " + intent); } catch (ActivityNotFoundException ex) { Toast.makeText(QuickContactActivity.this, R.string.missing_app, Toast.LENGTH_SHORT).show(); Loading