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

Skip to content
Commit a42f760f authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Add null check when checking clipboard actions package

If a RemoteAction returned through TextClassifier does not have
a ComponentName set, it will cause an NPE. This change adds a
null check to forestall that (and just doesn't show a chip if
there's no ComponentName).

Bug: 218458652
Test: manual (force-set component to null and checked that error
occurred before but not after fix)

Change-Id: Ia17e2375f8a31b44de51e3cfb0dafc8c1dff1ad2
parent c647b490
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment