check if the if the content provider is disabled (the app itself)
This commit is contained in:
parent
dee3a18ea8
commit
8f13a7ec97
|
@ -140,7 +140,9 @@ public class NewPipeSettings {
|
|||
|
||||
int availableProviders = 0;
|
||||
for (ResolveInfo info : infoList) {
|
||||
if (info.activityInfo.exported) availableProviders++;
|
||||
if (info.activityInfo != null && info.activityInfo.enabled && info.activityInfo.exported) {
|
||||
availableProviders++;
|
||||
}
|
||||
}
|
||||
|
||||
return availableProviders > 0;
|
||||
|
|
Loading…
Reference in New Issue