6
6
import android .os .Bundle ;
7
7
8
8
public class AndroidIntentRedirectionTest extends Activity {
9
- AndroidIntentRedirectionTest (Context base ) {
10
- super (base );
11
- }
12
9
13
10
public void onCreate (Bundle savedInstanceState ) {
14
11
{
@@ -20,11 +17,13 @@ public void onCreate(Bundle savedInstanceState) {
20
17
startActivityAsUser (intent , null ); // $ hasAndroidIntentRedirection
21
18
startActivityAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
22
19
startActivityAsCaller (intent , null , false , 0 ); // $ hasAndroidIntentRedirection
23
- startActivityAsUserFromFragment (null , intent , 0 , null , null ); // $ hasAndroidIntentRedirection
20
+ startActivityAsUserFromFragment (null , intent , 0 , null , null ); // $
21
+ // hasAndroidIntentRedirection
24
22
startActivityForResult (intent , 0 ); // $ hasAndroidIntentRedirection
25
23
startActivityForResult (intent , 0 , null ); // $ hasAndroidIntentRedirection
26
24
startActivityForResult (null , intent , 0 , null ); // $ hasAndroidIntentRedirection
27
- startActivityForResultAsUser (intent , null , 0 , null , null ); // $ hasAndroidIntentRedirection
25
+ startActivityForResultAsUser (intent , null , 0 , null , null ); // $
26
+ // hasAndroidIntentRedirection
28
27
startActivityForResultAsUser (intent , 0 , null , null ); // $ hasAndroidIntentRedirection
29
28
startActivityForResultAsUser (intent , 0 , null ); // $ hasAndroidIntentRedirection
30
29
}
@@ -47,8 +46,10 @@ public void onCreate(Bundle savedInstanceState) {
47
46
sendStickyBroadcast (intent ); // $ hasAndroidIntentRedirection
48
47
sendStickyBroadcastAsUser (intent , null ); // $ hasAndroidIntentRedirection
49
48
sendStickyBroadcastAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
50
- sendStickyOrderedBroadcast (intent , null , null , 0 , null , null ); // $ hasAndroidIntentRedirection
51
- sendStickyOrderedBroadcastAsUser (intent , null , null , null , 0 , null , null ); // $ hasAndroidIntentRedirection
49
+ sendStickyOrderedBroadcast (intent , null , null , 0 , null , null ); // $
50
+ // hasAndroidIntentRedirection
51
+ sendStickyOrderedBroadcastAsUser (intent , null , null , null , 0 , null , null ); // $
52
+ // hasAndroidIntentRedirection
52
53
}
53
54
54
55
}
0 commit comments