Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac57338b authored by Jay Shrauner's avatar Jay Shrauner Committed by Android (Google) Code Review
Browse files

Merge "Fix crash with null intent" into lmp-dev

parents 91cdf7d8 f0d04c11
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1438,10 +1438,8 @@ public class QuickContactActivity extends ContactsActivity {
            // Do not set the alternate intent is there are no resolves
            if (!PhoneCapabilityTester.isIntentRegistered(context, alternateIntent)) {
                alternateIntent = null;
            }

            } else if (TextUtils.isEmpty(alternateContentDescription)) {
                // Attempt to use package manager to find a suitable content description if needed
            if (TextUtils.isEmpty(alternateContentDescription)) {
                alternateContentDescription.append(getIntentResolveLabel(alternateIntent, context));
            }
        }