Program: 15109
Project: 15109
Buggy source:
private void buildDialog(int positionParam){
  final int position=positionParam;
  AlertDialog.Builder dialogBuilder=new AlertDialog.Builder(AddQuickPressShortcutActivity.this);
  dialogBuilder.setTitle(R.string.quickpress_add_alert_title);
  final EditText quickPressShortcutName=new EditText(AddQuickPressShortcutActivity.this);
  quickPressShortcutName.setText("String_Node_Str" + EscapeUtils.unescapeHtml(accountNames.get(position)));
  dialogBuilder.setView(quickPressShortcutName);
  dialogBuilder.setPositiveButton(R.string.add,new DialogInterface.OnClickListener(){
    public void onClick(    DialogInterface dialog,    int which){
      if (TextUtils.isEmpty(quickPressShortcutName.getText())) {
        Toast t=Toast.makeText(AddQuickPressShortcutActivity.this,R.string.quickpress_add_error,Toast.LENGTH_LONG);
        t.show();
      }
 else {
        Intent shortcutIntent=new Intent(AddQuickPressShortcutActivity.this,EditPostActivity.class);
        shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
        shortcutIntent.putExtra("String_Node_Str",accountIDs[position]);
        shortcutIntent.putExtra("String_Node_Str",true);
        shortcutIntent.putExtra("String_Node_Str",EscapeUtils.unescapeHtml(accountNames.get(position)));
        shortcutIntent.putExtra("String_Node_Str",true);
        Intent addIntent=new Intent();
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT,shortcutIntent);
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME,quickPressShortcutName.getText().toString());
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE,Intent.ShortcutIconResource.fromContext(AddQuickPressShortcutActivity.this,R.drawable.app_icon));
        WordPress.wpDB.addQuickPressShortcut(accountIDs[position],quickPressShortcutName.getText().toString());
        if (WordPress.currentBlog == null) {
          try {
            WordPress.currentBlog=new Blog(accountIDs[position]);
            WordPress.wpDB.updateLastBlogId(accountIDs[position]);
          }
 catch (          Exception e) {
          }
        }
        addIntent.setAction("String_Node_Str");
        AddQuickPressShortcutActivity.this.sendBroadcast(addIntent);
        AddQuickPressShortcutActivity.this.finish();
      }
    }
  }
);
  dialogBuilder.setNegativeButton(R.string.cancel,new DialogInterface.OnClickListener(){
    public void onClick(    DialogInterface dialog,    int which){
    }
  }
);
  dialogBuilder.setCancelable(false);
  dialogBuilder.create().show();
}

Fixed version (ground truth):
private void buildDialog(int positionParam){
  final int position=positionParam;
  AlertDialog.Builder dialogBuilder=new AlertDialog.Builder(AddQuickPressShortcutActivity.this);
  dialogBuilder.setTitle(R.string.quickpress_add_alert_title);
  final EditText quickPressShortcutName=new EditText(AddQuickPressShortcutActivity.this);
  quickPressShortcutName.setText("String_Node_Str" + StringUtils.unescapeHTML(accountNames.get(position)));
  dialogBuilder.setView(quickPressShortcutName);
  dialogBuilder.setPositiveButton(R.string.add,new DialogInterface.OnClickListener(){
    public void onClick(    DialogInterface dialog,    int which){
      if (TextUtils.isEmpty(quickPressShortcutName.getText())) {
        Toast t=Toast.makeText(AddQuickPressShortcutActivity.this,R.string.quickpress_add_error,Toast.LENGTH_LONG);
        t.show();
      }
 else {
        Intent shortcutIntent=new Intent(AddQuickPressShortcutActivity.this,EditPostActivity.class);
        shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
        shortcutIntent.putExtra("String_Node_Str",accountIDs[position]);
        shortcutIntent.putExtra("String_Node_Str",true);
        shortcutIntent.putExtra("String_Node_Str",StringUtils.unescapeHTML(accountNames.get(position)));
        shortcutIntent.putExtra("String_Node_Str",true);
        Intent addIntent=new Intent();
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT,shortcutIntent);
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME,quickPressShortcutName.getText().toString());
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE,Intent.ShortcutIconResource.fromContext(AddQuickPressShortcutActivity.this,R.drawable.app_icon));
        WordPress.wpDB.addQuickPressShortcut(accountIDs[position],quickPressShortcutName.getText().toString());
        if (WordPress.currentBlog == null) {
          try {
            WordPress.currentBlog=new Blog(accountIDs[position]);
            WordPress.wpDB.updateLastBlogId(accountIDs[position]);
          }
 catch (          Exception e) {
          }
        }
        addIntent.setAction("String_Node_Str");
        AddQuickPressShortcutActivity.this.sendBroadcast(addIntent);
        AddQuickPressShortcutActivity.this.finish();
      }
    }
  }
);
  dialogBuilder.setNegativeButton(R.string.cancel,new DialogInterface.OnClickListener(){
    public void onClick(    DialogInterface dialog,    int which){
    }
  }
);
  dialogBuilder.setCancelable(false);
  dialogBuilder.create().show();
}