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

Skip to content
Commit c0cc49a4 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Prevent NPE in getSliceDescendants

Since acquireUnstableContentProviderClient returns a nullable value, it
is better to check for null to avoid an NPE and gracefully return an
empty collection instead.

Bug: 179684490
Test: make
Change-Id: Icb6cc66a8a347e710b8f0e34e4134000de2b2663
parent 5e2736ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment