88public class AndroidIntentRedirectionTest extends Activity {
99
1010 public void onCreate (Bundle savedInstanceState ) {
11+ // @formatter:off
1112 {
1213 Intent intent = (Intent ) getIntent ().getParcelableExtra ("forward_intent" );
1314 startActivities (new Intent [] {intent }); // $ hasAndroidIntentRedirection
@@ -17,13 +18,11 @@ public void onCreate(Bundle savedInstanceState) {
1718 startActivityAsUser (intent , null ); // $ hasAndroidIntentRedirection
1819 startActivityAsUser (intent , null , null ); // $ hasAndroidIntentRedirection
1920 startActivityAsCaller (intent , null , false , 0 ); // $ hasAndroidIntentRedirection
20- startActivityAsUserFromFragment (null , intent , 0 , null , null ); // $
21- // hasAndroidIntentRedirection
21+ startActivityAsUserFromFragment (null , intent , 0 , null , null ); // $ hasAndroidIntentRedirection
2222 startActivityForResult (intent , 0 ); // $ hasAndroidIntentRedirection
2323 startActivityForResult (intent , 0 , null ); // $ hasAndroidIntentRedirection
2424 startActivityForResult (null , intent , 0 , null ); // $ hasAndroidIntentRedirection
25- startActivityForResultAsUser (intent , null , 0 , null , null ); // $
26- // hasAndroidIntentRedirection
25+ startActivityForResultAsUser (intent , null , 0 , null , null ); // $ hasAndroidIntentRedirection
2726 startActivityForResultAsUser (intent , 0 , null , null ); // $ hasAndroidIntentRedirection
2827 startActivityForResultAsUser (intent , 0 , null ); // $ hasAndroidIntentRedirection
2928 }
@@ -46,11 +45,9 @@ public void onCreate(Bundle savedInstanceState) {
4645 sendStickyBroadcast (intent ); // $ hasAndroidIntentRedirection
4746 sendStickyBroadcastAsUser (intent , null ); // $ hasAndroidIntentRedirection
4847 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
5350 }
54-
51+ // @formatter:on
5552 }
5653}
0 commit comments