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

Commit 2d0c0e35 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Consider disabled authorities for notifs.

They're still valid providers, even when they're disabled.

Test: builds, boots, disabled authorities considered
Bug: 35791633
Change-Id: Ie1c40ae92a72b5b9f6869ea3dca19f2b74f80bae
parent 69498632
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10711,6 +10711,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        try {
            cpi = AppGlobals.getPackageManager().resolveContentProvider(authority,
                    STOCK_PM_FLAGS | PackageManager.GET_URI_PERMISSION_PATTERNS
                            | PackageManager.MATCH_DISABLED_COMPONENTS
                            | PackageManager.MATCH_DIRECT_BOOT_AWARE
                            | PackageManager.MATCH_DIRECT_BOOT_UNAWARE,
                    userId);