Merge "Don't crash on dialer app target search results" into sc-dev am: e80a0caa81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436804 Change-Id: I003b0e9db711216d645b79d9b9984b1c81da7a5b
This commit is contained in:
@@ -94,6 +94,11 @@ 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() {
|
||||
|
||||
Reference in New Issue
Block a user