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

Commit 2936a50e authored by Miranda Kephart's avatar Miranda Kephart Committed by Android (Google) Code Review
Browse files

Merge "Add null check when checking clipboard actions package"

parents e96b6383 a42f760f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -262,7 +262,8 @@ public class ClipboardOverlayController {
            resetActionChips();
            for (RemoteAction action : actions) {
                Intent targetIntent = action.getActionIntent().getIntent();
                if (!TextUtils.equals(source, targetIntent.getComponent().getPackageName())) {
                ComponentName component = targetIntent.getComponent();
                if (component != null && !TextUtils.equals(source, component.getPackageName())) {
                    OverlayActionChip chip = constructActionChip(action);
                    mActionContainer.addView(chip);
                    mActionChips.add(chip);