package com.markupartist.sthlmtraveling;

import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.TaskStackBuilder;

public class DeparturesShortcutProxyActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Intent intent = getIntent();

        Intent startIntent = new Intent(getApplicationContext(), StartActivity.class);
        if (!intent.hasExtra(DeparturesActivity.EXTRA_SITE_NAME)) {
            startActivity(startIntent);
        }

        Intent departuresIntent = new Intent(getApplicationContext(), DeparturesActivity.class);
        departuresIntent.putExtra(DeparturesActivity.EXTRA_SITE_NAME,
                intent.getStringExtra(DeparturesActivity.EXTRA_SITE_NAME));

        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
            startActivity(departuresIntent);
        } else {
            Intent[] pendingIntents =
                    TaskStackBuilder.create(this)
                            .addNextIntentWithParentStack(startIntent)
                            .addNextIntentWithParentStack(departuresIntent)
                            .getIntents();
            startActivities(pendingIntents);
        }

    }
}

@@ -868,143 +868,8 @@
 );%0A%0A
-        if (Build.VERSION.SDK_INT %3C Build.VERSION_CODES.HONEYCOMB) %7B%0A            startActivity(departuresIntent);%0A        %7D else %7B%0A    
     
@@ -914,20 +914,16 @@
         
- 
-   
 TaskStac
@@ -944,20 +944,16 @@
 e(this)%0A
-    
         
@@ -1027,36 +1027,32 @@
                 
-   
- 
 .addNextIntentWi
@@ -1107,20 +1107,16 @@
         
-    
 .getInte
@@ -1122,20 +1122,16 @@
 ents();%0A
-    
         
@@ -1163,27 +1163,16 @@
 tents);%0A
-        %7D%0A%0A
     %7D%0A%7D%0A

Change to not check for honeycomb