mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	check if the if the content provider is disabled (the app itself)
This commit is contained in:
		| @@ -140,7 +140,9 @@ public class NewPipeSettings { | |||||||
|  |  | ||||||
|         int availableProviders = 0; |         int availableProviders = 0; | ||||||
|         for (ResolveInfo info : infoList) { |         for (ResolveInfo info : infoList) { | ||||||
|             if (info.activityInfo.exported) availableProviders++; |             if (info.activityInfo != null && info.activityInfo.enabled && info.activityInfo.exported) { | ||||||
|  |                 availableProviders++; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         return availableProviders > 0; |         return availableProviders > 0; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 kapodamy
					kapodamy