Merge "Revert "Don't crash on dialer app target search results"" into sc-dev am: 1553f4dfae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456868 Change-Id: Ia78884c0197e97f8353d84874cc4963336616a10
This commit is contained in:
@@ -94,11 +94,6 @@ public class SearchActionItemInfo extends ItemInfoWithIcon {
|
|||||||
"SearchActionItemInfo can only have either an Intent or a PendingIntent");
|
"SearchActionItemInfo can only have either an Intent or a PendingIntent");
|
||||||
}
|
}
|
||||||
mIntent = intent;
|
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() {
|
public PendingIntent getPendingIntent() {
|
||||||
|
|||||||
Reference in New Issue
Block a user