play-services-plugins
play-services-plugins copied to clipboard
Use license name for license info when license url is empty
trafficstars
Sometimes the artifact only declares license name, and the license url is empty. This results in the empty page for such artifact in the Google Play OssLicenseActivity. An example of such artifact is com.microsoft.identity:common: https://repo1.maven.org/maven2/com/microsoft/identity/common/17.0.0/common-17.0.0.pom, where only a <name>MIT License<\name> tag is provided. I think we should display the name tag if the license
Use license name as a fallback when license url is not available to make sure there is always something to display in the license.
Can someone please help review this pull request? Thank you! :)