mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Formatting
This commit is contained in:
@@ -28,7 +28,9 @@ class OnActivityResultIncomingIntent extends DataFlow::Node {
|
||||
* Intent to `onActivityResult`.
|
||||
*/
|
||||
predicate isRemoteSource() {
|
||||
exists(ImplicitStartActivityForResultConf conf, RefType startingType, Expr startActivityForResultArg |
|
||||
exists(
|
||||
ImplicitStartActivityForResultConf conf, RefType startingType, Expr startActivityForResultArg
|
||||
|
|
||||
conf.hasFlowToExpr(startActivityForResultArg) and
|
||||
// startingType is the class enclosing the method that calls `startActivityForResult`.
|
||||
startingType = startActivityForResultArg.getEnclosingCallable().getDeclaringType()
|
||||
|
||||
Reference in New Issue
Block a user