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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user