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

Commit a935db15 authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov
Browse files

More comments in ContentProviderHelper

Ever so slightly expand comments in the AM's ContentProviderHelper,
which potentially could save some time other people trying to figure out
why they are getting "Provider not found" errors.

Bug: none
Test: m
Change-Id: Idd914dfbbcf83b10693d13fd2a4e6bf5038551e0
parent e3412835
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -293,7 +293,8 @@ public class ContentProviderHelper {
                    return holder;
                }

                // Don't expose providers between normal apps and instant apps
                // Don't expose providers between normal apps and instant apps; enforce limited
                // package visibility (introduced in Android 11); etc.
                try {
                    if (AppGlobals.getPackageManager()
                            .resolveContentProvider(name, /*flags=*/ 0, userId) == null) {