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

Commit c1e79495 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
parent c5384e10
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5052,6 +5052,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);