uid_);
break;
default:
- assert(false && "Not supported installation mode");
+ LOG(ERROR) << "Not supported installation mode";
}
return ret == APP2EXT_STATUS_SUCCESS;
}
ret = handle_->interface.client_usr_pre_migrate_legacy(pkgid_.c_str(),
uid_);
break;
- case RequestType::Reinstall:
- case RequestType::Recovery:
- case RequestType::RecoveryUpdate:
- case RequestType::ManifestDirectInstall:
- case RequestType::ManifestDirectUpdate:
- case RequestType::MountInstall:
- case RequestType::MountUpdate:
+ default:
LOG(ERROR) << "Installation type is not supported by external installation";
ret = -1;
break;
- default:
- assert(false && "Invalid installation mode");
}
g_list_free_full(glist, &ClearApp2ExtDirDetail);