update isDebuggable predicate

This commit is contained in:
Jami Cogswell
2022-08-12 15:15:39 -04:00
parent f529cc43bc
commit 4986cc8458

View File

@@ -60,7 +60,13 @@ class AndroidApplicationXmlElement extends XMLElement {
/**
* Holds if this application element has the attribute `android:debuggable` set to `true`.
*/
predicate isDebuggable() { this.getAttributeValue("debuggable") = "true" }
predicate isDebuggable() {
exists(AndroidXmlAttribute attr |
this.getAnAttribute() = attr and
attr.getName() = "debuggable" and
attr.getValue() = "true"
)
}
}
/**