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

Commit ed132ae5 authored by Tim Yu's avatar Tim Yu
Browse files

[RESTRICT AUTOMERGE] Check permission of URI inside of SaveUI's templateUpdates

Fixes: b/286235483
Test: atest CtsAutoFillServiceTestCases

Change-Id: I48879174664b70ced90492bb0991dc91cbf89b79
Merged-In: I48879174664b70ced90492bb0991dc91cbf89b79
parent b8f41d02
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -443,7 +443,8 @@ final class SaveUi {
                    }
                    final BatchUpdates batchUpdates = pair.second;
                    // First apply the updates...
                    final RemoteViews templateUpdates = batchUpdates.getUpdates();
                    final RemoteViews templateUpdates =
                            Helper.sanitizeRemoteView(batchUpdates.getUpdates());
                    if (templateUpdates != null) {
                        if (sDebug) Slog.d(TAG, "Applying template updates for batch update #" + i);
                        templateUpdates.reapply(context, customSubtitleView);