Android Question Use (if) in manifest

Hello Everyone, how can I use if in the manifest?
I use a notification service that is listed in the documentation for this service:
If you want your notification to contain an icon, add this code to the manifest, otherwise do not add a code.
Well I want to use a combination of these (sometimes my ad has an icon and sometimes it has no icon)
That's why I want to set these from the server so that if I also select the icon display from the server, this code will affect the manifest, otherwise the code for the icon in the manifest will be ineffective.
I hope you understand what I mean
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…