From a1b7851b5312c74c3c0a719a313424e44bddeb8d Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Thu, 6 May 2021 21:55:51 +0000 Subject: [PATCH] Revert "Don't crash on dialer app target search results" This reverts commit 67edf1654c2d5b4cba800065f75d6ac39ed8c53c. Reason for revert: this was temporary launcher side fix until aiai proper fix was made and dropped to the system image. Bug: 186412929 Change-Id: Idd3abe3fe2104c316aeff16e11d8110dfee7e0d1 --- .../android/launcher3/model/data/SearchActionItemInfo.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/android/launcher3/model/data/SearchActionItemInfo.java b/src/com/android/launcher3/model/data/SearchActionItemInfo.java index 0eea92c691..b3057d5bd2 100644 --- a/src/com/android/launcher3/model/data/SearchActionItemInfo.java +++ b/src/com/android/launcher3/model/data/SearchActionItemInfo.java @@ -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() {