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

Commit c6aa5cb8 authored by Chun Zhang's avatar Chun Zhang Committed by Android (Google) Code Review
Browse files

Merge "Check client null before calling and closing." into main

parents dc01092e e4ff8c40
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -147,6 +147,9 @@ public class ActiveUnlockContentListener {
            @NonNull String contentKey) {
        ContentResolver contentResolver = context.getContentResolver();
        ContentProviderClient client = contentResolver.acquireContentProviderClient(uri);
        if (client == null) {
            return null;
        }

        @Nullable Bundle bundle = null;