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

Commit f483640d authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Update AccountManagerService checkKeyIntent.

Block intents with "content" data scheme.

Bug: 349780950
Test: manual
Flag: EXEMPT bugfix
Change-Id: I8b23191d3d60036ca7ddf0ef7dcba6b38fb27b3c
(cherry picked from commit c1e79495)
parent de4baa7c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4895,6 +4895,9 @@ public class AccountManagerService
                if (resolveInfo == null) {
                    return false;
                }
                if ("content".equals(intent.getScheme())) {
                    return false;
                }
                ActivityInfo targetActivityInfo = resolveInfo.activityInfo;
                int targetUid = targetActivityInfo.applicationInfo.uid;
                PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class);