Program: 165240
Project: 165240
Buggy source:
@Override protected void onActivityResult(int requestCode,int resultCode,Intent data){
switch (requestCode) {
case REQUEST_CODE_INSTALL:
{
      if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
        installer.sendBroadcastInstall(mInstallUri,mInstallOriginatingUri,Installer.ACTION_INSTALL_COMPLETE);
        break;
      }
      if ("String_Node_Str".equals(Build.VERSION.CODENAME)) {
        installer.sendBroadcastInstall(mInstallUri,mInstallOriginatingUri,Installer.ACTION_INSTALL_COMPLETE);
        break;
      }
switch (resultCode) {
case Activity.RESULT_OK:
{
          installer.sendBroadcastInstall(mInstallUri,mInstallOriginatingUri,Installer.ACTION_INSTALL_COMPLETE);
          break;
        }
case Activity.RESULT_CANCELED:
{
        installer.sendBroadcastInstall(mInstallUri,mInstallOriginatingUri,Installer.ACTION_INSTALL_INTERRUPTED);
        break;
      }
default :
case Activity.RESULT_FIRST_USER:
{
      installer.sendBroadcastInstall(mInstallUri,mInstallOriginatingUri,Installer.ACTION_INSTALL_INTERRUPTED,getString(R.string.install_error_unknown));
      break;
    }
}
break;
}
case REQUEST_CODE_UNINSTALL:
{
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
installer.sendBroadcastUninstall(mUninstallPackageName,Installer.ACTION_UNINSTALL_COMPLETE);
break;
}
switch (resultCode) {
case Activity.RESULT_OK:
{
  installer.sendBroadcastUninstall(mUninstallPackageName,Installer.ACTION_UNINSTALL_COMPLETE);
  break;
}
case Activity.RESULT_CANCELED:
{
installer.sendBroadcastUninstall(mUninstallPackageName,Installer.ACTION_UNINSTALL_INTERRUPTED);
break;
}
default :
case Activity.RESULT_FIRST_USER:
{
installer.sendBroadcastUninstall(mUninstallPackageName,Installer.ACTION_UNINSTALL_INTERRUPTED,getString(R.string.uninstall_error_unknown));
break;
}
}
break;
}
default :
{
throw new RuntimeException("String_Node_Str");
}
}
finish();
}

Fixed version (ground truth):
@Override protected void onActivityResult(int requestCode,int resultCode,Intent data){
switch (requestCode) {
case REQUEST_CODE_INSTALL:
{
      if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
        installer.sendBroadcastInstall(installUri,installOriginatingUri,Installer.ACTION_INSTALL_COMPLETE);
        break;
      }
      if ("String_Node_Str".equals(Build.VERSION.CODENAME)) {
        installer.sendBroadcastInstall(installUri,installOriginatingUri,Installer.ACTION_INSTALL_COMPLETE);
        break;
      }
switch (resultCode) {
case Activity.RESULT_OK:
{
          installer.sendBroadcastInstall(installUri,installOriginatingUri,Installer.ACTION_INSTALL_COMPLETE);
          break;
        }
case Activity.RESULT_CANCELED:
{
        installer.sendBroadcastInstall(installUri,installOriginatingUri,Installer.ACTION_INSTALL_INTERRUPTED);
        break;
      }
case Activity.RESULT_FIRST_USER:
default :
{
      installer.sendBroadcastInstall(installUri,installOriginatingUri,Installer.ACTION_INSTALL_INTERRUPTED,getString(R.string.install_error_unknown));
      break;
    }
}
break;
}
case REQUEST_CODE_UNINSTALL:
{
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
installer.sendBroadcastUninstall(uninstallPackageName,Installer.ACTION_UNINSTALL_COMPLETE);
break;
}
switch (resultCode) {
case Activity.RESULT_OK:
{
  installer.sendBroadcastUninstall(uninstallPackageName,Installer.ACTION_UNINSTALL_COMPLETE);
  break;
}
case Activity.RESULT_CANCELED:
{
installer.sendBroadcastUninstall(uninstallPackageName,Installer.ACTION_UNINSTALL_INTERRUPTED);
break;
}
case Activity.RESULT_FIRST_USER:
default :
{
installer.sendBroadcastUninstall(uninstallPackageName,Installer.ACTION_UNINSTALL_INTERRUPTED,getString(R.string.uninstall_error_unknown));
break;
}
}
break;
}
default :
{
throw new RuntimeException("String_Node_Str");
}
}
finish();
}