Merge "fix google widget timing issue" am: 56db11dfc2 am: 86170faab2 am: df65b78e27

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1782431

Change-Id: I5d6bf8dac1a50b62eacbe9dd5255dd5af4dfbedb
This commit is contained in:
Treehugger Robot
2021-09-24 19:50:41 +00:00
committed by Automerger Merge Worker

View File

@@ -396,8 +396,9 @@ public class QuickContactBadge extends ImageView implements OnClickListener {
// Prompt user to add this person to contacts
final Intent intent = new Intent(Intents.SHOW_OR_CREATE_CONTACT, createUri);
if (extras != null) {
extras.remove(EXTRA_URI_CONTENT);
intent.putExtras(extras);
Bundle bundle = new Bundle(extras);
bundle.remove(EXTRA_URI_CONTENT);
intent.putExtras(bundle);
}
getContext().startActivity(intent);
}