[Issue#] Factory_widget not used anymore.
[Bug] KW comments, spelling mistake in table name. Unused factory_widget property.
[Cause] N/A
[Solution] Removed factory_widget and related methods, error codes, exceptions.
[Verification] Build wrt-installer. No undefined symbols = OK
Change-Id: I3114e096e25aa7abf8657227199253f75e5065bf
WRT_WM_ERR_REMOVE_FILES_FAILED = WRT_WM_ERRCODE + WRT_ERROR_SET(0x0e),
WRT_WM_ERR_ALREADY_LATEST = WRT_WM_ERRCODE + WRT_ERROR_SET(0x0f),
WRT_WM_ERR_UPDATE_CANCEL = WRT_WM_ERRCODE + WRT_ERROR_SET(0x10),
- WRT_WM_ERR_IS_FACTORY_WIDGET = WRT_WM_ERRCODE + WRT_ERROR_SET(0x11),
- WRT_WM_ERR_INVALID_APP_ID = WRT_WM_ERRCODE + WRT_ERROR_SET(0x12),
+ WRT_WM_ERR_INVALID_APP_ID = WRT_WM_ERRCODE + WRT_ERROR_SET(0x11),
/* Access Control Manager */
WRT_SAI_ERR_INIT_ACE_FAILED = WRT_SAI_ERRCODE + WRT_ERROR_SET(0x01)
ErrorInvalidWidgetPackage, ///< ?
ErrorWidgetDoesNotExist, ///< ?
- ErrorFactoryWidget, ///< Widget is factory installed, and cannot be uninstalled
ErrorAreadyUninstalling, ///< Widget is already being uninstalled
ErrorOutOfDiskSpace, ///< ?
ErrorInvalidPackage, ///< Widget signature is invalid.
Success,
ErrorWidgetDoesNotExist,
- ErrorFactoryWidget,
ErrorAlreadyUninstalling,
ErrorDatabaseFailure,
ErrorUninstallOspSvcFailed,
DECLARE_JOB_EXCEPTION_BASE(JobExceptionBase, Base, ErrorUnknown)
DECLARE_JOB_EXCEPTION(Base, DatabaseFailure, ErrorDatabaseFailure)
-DECLARE_JOB_EXCEPTION(Base, FactoryWidget, ErrorFactoryWidget)
DECLARE_JOB_EXCEPTION(Base, AlreadyUninstalling, ErrorAlreadyUninstalling)
DECLARE_JOB_EXCEPTION(Base, WidgetNotExist, ErrorWidgetDoesNotExist)
DECLARE_JOB_EXCEPTION(Base, UninstallOspSvcFailed, ErrorUninstallOspSvcFailed)
errorStatus = WRT_INSTALLER_ERROR_WIDGET_DOES_NOT_EXIST;
break;
- case Jobs::WidgetInstall::Exceptions::ErrorFactoryWidget:
- errorStatus = WRT_INSTALLER_ERROR_FACTORY_WIDGET;
- break;
-
case Jobs::WidgetInstall::Exceptions::ErrorAreadyUninstalling:
errorStatus = WRT_INSTALLER_ERROR_ALREADY_UNINSTALLING;
break;
printf("failed: widget package does not exist\n");
break;
- case WRT_INSTALLER_ERROR_FACTORY_WIDGET:
- printf("failed: factory widget\n");
- break;
-
case WRT_INSTALLER_ERROR_ALREADY_UNINSTALLING:
printf("failed: already uninstalling\n");
break;
/* Installer Errors*/
WRT_INSTALLER_ERROR_INVALID_WIDGET_PACKAGE, /*< */
WRT_INSTALLER_ERROR_WIDGET_DOES_NOT_EXIST, /*< */
- WRT_INSTALLER_ERROR_FACTORY_WIDGET, /*< Widget is factory installed,
- and cannot be uninstalled */
+
WRT_INSTALLER_ERROR_ALREADY_UNINSTALLING, /*< Widget is already being
uninstalled */
WRT_INSTALLER_ERROR_OUT_OUT_DISK_SPACE, /*< */