Merge "Revert "Don't crash on dialer app target search results"" into sc-dev

This commit is contained in:
Hyunyoung Song authored and Android (Google) Code Review committed 2021-05-11 23:13:13 +00:00
commit 1553f4dfae
1 file changed
-5
@@ -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() {