8
8
public class AndroidIntentRedirectionTest extends Activity {
9
9
10
10
public void onCreate (Bundle savedInstanceState ) {
11
+ // @formatter:off
11
12
{
12
13
Intent intent = (Intent ) getIntent ().getParcelableExtra ("forward_intent" );
13
14
startActivities (new Intent [] {intent }); // $ hasAndroidIntentRedirection
@@ -17,13 +18,11 @@ public void onCreate(Bundle savedInstanceState) {
17
18
startActivityAsUser (intent , null ); // $ hasAndroidIntentRedirection
18
19
startActivityAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
19
20
startActivityAsCaller (intent , null , false , 0 ); // $ hasAndroidIntentRedirection
20
- startActivityAsUserFromFragment (null , intent , 0 , null , null ); // $
21
- // hasAndroidIntentRedirection
21
+ startActivityAsUserFromFragment (null , intent , 0 , null , null ); // $ hasAndroidIntentRedirection
22
22
startActivityForResult (intent , 0 ); // $ hasAndroidIntentRedirection
23
23
startActivityForResult (intent , 0 , null ); // $ hasAndroidIntentRedirection
24
24
startActivityForResult (null , intent , 0 , null ); // $ hasAndroidIntentRedirection
25
- startActivityForResultAsUser (intent , null , 0 , null , null ); // $
26
- // hasAndroidIntentRedirection
25
+ startActivityForResultAsUser (intent , null , 0 , null , null ); // $ hasAndroidIntentRedirection
27
26
startActivityForResultAsUser (intent , 0 , null , null ); // $ hasAndroidIntentRedirection
28
27
startActivityForResultAsUser (intent , 0 , null ); // $ hasAndroidIntentRedirection
29
28
}
@@ -46,11 +45,9 @@ public void onCreate(Bundle savedInstanceState) {
46
45
sendStickyBroadcast (intent ); // $ hasAndroidIntentRedirection
47
46
sendStickyBroadcastAsUser (intent , null ); // $ hasAndroidIntentRedirection
48
47
sendStickyBroadcastAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
49
- sendStickyOrderedBroadcast (intent , null , null , 0 , null , null ); // $
50
- // hasAndroidIntentRedirection
51
- sendStickyOrderedBroadcastAsUser (intent , null , null , null , 0 , null , null ); // $
52
- // hasAndroidIntentRedirection
48
+ sendStickyOrderedBroadcast (intent , null , null , 0 , null , null ); // $ hasAndroidIntentRedirection
49
+ sendStickyOrderedBroadcastAsUser (intent , null , null , null , 0 , null , null ); // $ hasAndroidIntentRedirection
53
50
}
54
-
51
+ // @formatter:on
55
52
}
56
53
}
0 commit comments