Merge change 23643 into eclair

* changes:
  Don't crash when a user taps on a fast track trigger that isn't hooked up to a contact.
This commit is contained in:
Android (Google) Code Review
2009-09-02 12:38:03 -07:00

View File

@@ -425,6 +425,11 @@ public class ContactHeaderWidget extends FrameLayout implements View.OnClickList
}
public void onClick(View view) {
// Make sure there is a contact
if (mContactUri == null) {
return;
}
switch (view.getId()) {
case R.id.star: {
// Toggle "starred" state