mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
switch to hasName
This commit is contained in:
@@ -70,7 +70,7 @@ class AndroidReceiveIntentMethod extends Method {
|
||||
*/
|
||||
class AndroidServiceIntentMethod extends Method {
|
||||
AndroidServiceIntentMethod() {
|
||||
this.getName().matches(["onStart%", "on%ind", "onTaskRemoved"]) and
|
||||
this.hasName(["onStart", "onStartCommand", "onBind", "onRebind", "onUnbind", "onTaskRemoved"]) and
|
||||
this.getDeclaringType() instanceof TypeService
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user