group negated expressions together

This commit is contained in:
Jami Cogswell
2022-08-12 12:25:43 -04:00
parent efac4b197d
commit ac07544d70

View File

@@ -5,8 +5,8 @@ private import semmle.code.xml.AndroidManifest
/** An implicitly exported Android component */
class ImplicitlyExportedAndroidComponent extends AndroidComponentXmlElement {
ImplicitlyExportedAndroidComponent() {
not this.hasExportedAttribute() and
this.hasAnIntentFilterElement() and
not this.hasExportedAttribute() and
not this.getAnIntentFilterElement().getACategoryElement().getCategoryName() =
"android.intent.category.LAUNCHER" and
not this.getAnIntentFilterElement().getAnActionElement().getActionName() =