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

Commit f0d04c11 authored by Jay Shrauner's avatar Jay Shrauner
Browse files

Fix crash with null intent

Bug:17357045
Change-Id: Icb0bc6e161911b7548ea1d23535a2bd4bab88ae9
parent d038b404
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));
            }
        }