Formatting

This commit is contained in:
Tony Torralba
2022-01-17 12:16:24 +01:00
parent 4b3029564c
commit aef63f69b0

View File

@@ -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()