Skip to content

Commit 6485e73

Browse files
committed
Added documentation for providesMainIntent pred
1 parent 500a6f3 commit 6485e73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/ql/lib/semmle/code/xml/AndroidManifest.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ class AndroidApplicationXmlElement extends XmlElement {
9999
)
100100
}
101101

102+
/**
103+
* Holds if the application element contains a child element which provides the
104+
* `android.intent.action.MAIN` intent.
105+
*/
102106
predicate providesMainIntent() {
103107
exists(AndroidActivityXmlElement activity |
104108
activity = this.getAChild() and

0 commit comments

Comments
 (0)