Merge "fix google widget timing issue" am: 56db11dfc2 am: 86170faab2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1782431 Change-Id: I3a800bd8b3a728d07048f9fd4396fb02d5316c91
This commit is contained in:
@@ -396,8 +396,9 @@ public class QuickContactBadge extends ImageView implements OnClickListener {
|
|||||||
// Prompt user to add this person to contacts
|
// Prompt user to add this person to contacts
|
||||||
final Intent intent = new Intent(Intents.SHOW_OR_CREATE_CONTACT, createUri);
|
final Intent intent = new Intent(Intents.SHOW_OR_CREATE_CONTACT, createUri);
|
||||||
if (extras != null) {
|
if (extras != null) {
|
||||||
extras.remove(EXTRA_URI_CONTENT);
|
Bundle bundle = new Bundle(extras);
|
||||||
intent.putExtras(extras);
|
bundle.remove(EXTRA_URI_CONTENT);
|
||||||
|
intent.putExtras(bundle);
|
||||||
}
|
}
|
||||||
getContext().startActivity(intent);
|
getContext().startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user