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

Commit 66768ba6 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

We still need userIds to be populated.

Fixes regression from recent security patch.

Bug: 116685315
Test: none
Change-Id: I2c2e3976ec7ec2b03ebee052ca8ce11b8f66495d
parent 99ae1039
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -333,6 +333,7 @@ public abstract class ContentProvider implements ComponentCallbacks2 {
                Uri uri = operation.getUri();
                uri = validateIncomingUri(uri);
                uri = maybeGetUriWithoutUserId(uri);
                userIds[i] = getUserIdFromUri(uri);
                // Rebuild operation if we changed the Uri above
                if (!Objects.equals(operation.getUri(), uri)) {
                    operation = new ContentProviderOperation(operation, uri);