Merge "Revert "Don't crash on dialer app target search results"" into sc-dev am: 1553f4dfae am: 98447ff4e1

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456868

Change-Id: I7731f2cdccfcf9c83e80a88923de64f42c142a6b
This commit is contained in:
Hyunyoung Song
2021-05-11 23:49:16 +00:00
committed by Automerger Merge Worker

View File

@@ -94,11 +94,6 @@ public class SearchActionItemInfo extends ItemInfoWithIcon {
"SearchActionItemInfo can only have either an Intent or a PendingIntent");
}
mIntent = intent;
// bandage fix for just one week
if (intent != null && "com.android.server.telecom".equals(intent.getPackage())) {
intent.setAction(Intent.ACTION_DIAL);
intent.setPackage(null);
}
}
public PendingIntent getPendingIntent() {