Java: Add support and tests for implicitly exported activity aliases

This commit is contained in:
Ed Minnix
2022-11-17 13:09:38 -05:00
parent 1472335c2e
commit b6a59f0885
8 changed files with 60 additions and 0 deletions

View File

@@ -57,6 +57,12 @@ class ExportableAndroidComponent extends AndroidComponent {
or
this.hasIntentFilter() and
not this.getAndroidComponentXmlElement().isNotExported()
or
exists(AndroidActivityAliasXmlElement e |
e = this.getAndroidComponentXmlElement() and
not e.isNotExported() and
e.hasAnIntentFilterElement()
)
}
}