@@ -17,28 +17,25 @@ public void onCreate(Bundle savedInstanceState) {
17
17
startActivity (intent ); // $ hasAndroidIntentRedirection
18
18
startActivity (intent , null ); // $ hasAndroidIntentRedirection
19
19
startActivityAsUser (intent , null ); // $ hasAndroidIntentRedirection
20
- startActivityAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
21
20
startActivityAsCaller (intent , null , false , 0 ); // $ hasAndroidIntentRedirection
22
21
startActivityForResult (intent , 0 ); // $ hasAndroidIntentRedirection
23
22
startActivityForResult (intent , 0 , null ); // $ hasAndroidIntentRedirection
24
23
startActivityForResult (null , intent , 0 , null ); // $ hasAndroidIntentRedirection
25
24
startActivityForResultAsUser (intent , null , 0 , null , null ); // $ hasAndroidIntentRedirection
26
25
startActivityForResultAsUser (intent , 0 , null , null ); // $ hasAndroidIntentRedirection
27
26
startActivityForResultAsUser (intent , 0 , null ); // $ hasAndroidIntentRedirection
27
+ bindService (intent , null , 0 );
28
+ bindServiceAsUser (intent , null , 0 , null );
28
29
startService (intent ); // $ hasAndroidIntentRedirection
29
30
startServiceAsUser (intent , null ); // $ hasAndroidIntentRedirection
31
+ startForegroundService (intent ); // $ hasAndroidIntentRedirection
30
32
sendBroadcast (intent ); // $ hasAndroidIntentRedirection
31
33
sendBroadcast (intent , null ); // $ hasAndroidIntentRedirection
32
- sendBroadcast (intent , null , null ); // $ hasAndroidIntentRedirection
33
- sendBroadcast (intent , null , 0 ); // $ hasAndroidIntentRedirection
34
34
sendBroadcastAsUser (intent , null ); // $ hasAndroidIntentRedirection
35
35
sendBroadcastAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
36
- sendBroadcastAsUser (intent , null , null , null ); // $ hasAndroidIntentRedirection
37
- sendBroadcastAsUser (intent , null , null , 0 ); // $ hasAndroidIntentRedirection
38
36
sendBroadcastWithMultiplePermissions (intent , null ); // $ hasAndroidIntentRedirection
39
37
sendStickyBroadcast (intent ); // $ hasAndroidIntentRedirection
40
38
sendStickyBroadcastAsUser (intent , null ); // $ hasAndroidIntentRedirection
41
- sendStickyBroadcastAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
42
39
sendStickyOrderedBroadcast (intent , null , null , 0 , null , null ); // $ hasAndroidIntentRedirection
43
40
sendStickyOrderedBroadcastAsUser (intent , null , null , null , 0 , null , null ); // $ hasAndroidIntentRedirection
44
41
// @formatter:on
@@ -63,78 +60,78 @@ public void onCreate(Bundle savedInstanceState) {
63
60
}
64
61
{
65
62
Intent fwdIntent = new Intent ();
66
- fwdIntent .setClassName ((Context ) null , ( String ) intent .getExtra ("className" ));
63
+ fwdIntent .setClassName ((Context ) null , intent .getStringExtra ("className" ));
67
64
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
68
65
}
69
66
{
70
67
Intent fwdIntent = new Intent ();
71
- fwdIntent .setClassName (( String ) intent .getExtra ("packageName" ), null );
68
+ fwdIntent .setClassName (intent .getStringExtra ("packageName" ), null );
72
69
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
73
70
}
74
71
{
75
72
Intent fwdIntent = new Intent ();
76
- fwdIntent .setClassName (( String ) intent .getExtra ("packageName" ),
77
- ( String ) intent .getExtra ("className" ));
73
+ fwdIntent .setClassName (intent .getStringExtra ("packageName" ),
74
+ intent .getStringExtra ("className" ));
78
75
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
79
76
}
80
77
{
81
78
Intent fwdIntent = new Intent ();
82
- fwdIntent .setClass (null , Class .forName (( String ) intent .getExtra ("className" )));
79
+ fwdIntent .setClass (null , Class .forName (intent .getStringExtra ("className" )));
83
80
// needs taint step for Class.forName
84
81
startActivity (fwdIntent ); // $ MISSING: $hasAndroidIntentRedirection
85
82
}
86
83
{
87
84
Intent fwdIntent = new Intent ();
88
- fwdIntent .setPackage (( String ) intent .getExtra ("packageName" ));
85
+ fwdIntent .setPackage (intent .getStringExtra ("packageName" ));
89
86
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
90
87
}
91
88
{
92
89
Intent fwdIntent = new Intent ();
93
90
ComponentName component =
94
- new ComponentName (( String ) intent .getExtra ("packageName" ), null );
91
+ new ComponentName (intent .getStringExtra ("packageName" ), null );
95
92
fwdIntent .setComponent (component );
96
93
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
97
94
}
98
95
{
99
96
Intent fwdIntent = new Intent ();
100
97
ComponentName component =
101
- new ComponentName ("" , ( String ) intent .getExtra ("className" ));
98
+ new ComponentName ("" , intent .getStringExtra ("className" ));
102
99
fwdIntent .setComponent (component );
103
100
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
104
101
}
105
102
{
106
103
Intent fwdIntent = new Intent ();
107
104
ComponentName component =
108
- new ComponentName ((Context ) null , ( String ) intent .getExtra ("className" ));
105
+ new ComponentName ((Context ) null , intent .getStringExtra ("className" ));
109
106
fwdIntent .setComponent (component );
110
107
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
111
108
}
112
109
{
113
110
Intent fwdIntent = new Intent ();
114
111
ComponentName component = new ComponentName ((Context ) null ,
115
- Class .forName (( String ) intent .getExtra ("className" )));
112
+ Class .forName (intent .getStringExtra ("className" )));
116
113
fwdIntent .setComponent (component );
117
114
// needs taint step for Class.forName
118
115
startActivity (fwdIntent ); // $ MISSING: $hasAndroidIntentRedirection
119
116
}
120
117
{
121
118
Intent fwdIntent = new Intent ();
122
119
ComponentName component =
123
- ComponentName .createRelative ("" , ( String ) intent .getExtra ("className" ));
120
+ ComponentName .createRelative ("" , intent .getStringExtra ("className" ));
124
121
fwdIntent .setComponent (component );
125
122
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
126
123
}
127
124
{
128
125
Intent fwdIntent = new Intent ();
129
126
ComponentName component =
130
- ComponentName .createRelative (( String ) intent .getExtra ("packageName" ), "" );
127
+ ComponentName .createRelative (intent .getStringExtra ("packageName" ), "" );
131
128
fwdIntent .setComponent (component );
132
129
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
133
130
}
134
131
{
135
132
Intent fwdIntent = new Intent ();
136
133
ComponentName component = ComponentName .createRelative ((Context ) null ,
137
- ( String ) intent .getExtra ("className" ));
134
+ intent .getStringExtra ("className" ));
138
135
fwdIntent .setComponent (component );
139
136
startActivity (fwdIntent ); // $ hasAndroidIntentRedirection
140
137
}
0 commit comments