Skip to content

Commit 25cb323

Browse files
Jami Cogswellatorralba
authored andcommitted
apply review suggestions
1 parent 91db1be commit 25cb323

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

java/ql/lib/change-notes/2022-09-22-android-deeplink-flow-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
category: minorAnalysis
33
---
44
* Added data flow steps for tainted Android intents that are sent to services and receivers.
5-
* Updated data flow step for tainted Android intents that are sent to activities.
5+
* Improved the data flow step for tainted Android intents that are sent to activities so that more cases are covered.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: deprecated
3+
---
4+
* Deprecated `ContextStartActivityMethod`. Use `StartActivityMethod` instead.

java/ql/lib/semmle/code/java/frameworks/android/Intent.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class GrantWriteUriPermissionFlag extends GrantUriPermissionFlag {
221221
GrantWriteUriPermissionFlag() { this.hasName("FLAG_GRANT_WRITE_URI_PERMISSION") }
222222
}
223223

224-
/** The instantiation of an `android.content.Intent` instance. */
224+
/** An instantiation of `android.content.Intent`. */
225225
private class NewIntent extends ClassInstanceExpr {
226226
NewIntent() { this.getConstructedType() instanceof TypeIntent }
227227

@@ -232,7 +232,7 @@ private class NewIntent extends ClassInstanceExpr {
232232
}
233233
}
234234

235-
/** A call to a method that starts an Android component */
235+
/** A call to a method that starts an Android component. */
236236
private class StartComponentMethodAccess extends MethodAccess {
237237
StartComponentMethodAccess() {
238238
this.getMethod().overrides*(any(StartActivityMethod m)) or

0 commit comments

Comments
 (0)