Skip to content

Commit 5dfb0d4

Browse files
committed
Fix Android tests affected by changes in stubs
1 parent ef30ca2 commit 5dfb0d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

java/ql/test/library-tests/dataflow/taintsources/IntentSources.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
package com.example.myapp;
22

33
import android.app.Activity;
4+
import android.content.Context;
45

56
public class IntentSources extends Activity {
67

78
private static void sink(Object o) {}
89

10+
public IntentSources(Context base) {
11+
super(base);
12+
}
13+
914
public void test() throws java.io.IOException {
1015

1116
String trouble = this.getIntent().getStringExtra("key");

0 commit comments

Comments
 (0)