Change-Id: I33eb46e7931aa62a8e52e48a190f1bef34239445
Signed-off-by: seolheui kim <s414.kim@samsung.com>
#Install app data
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}.xml DESTINATION ${APP_SHARE_PACKAGES_DIR})
+#Install service file
+CONFIGURE_FILE(service/ode-progress-ui@.service.in service/ode-progress-ui@.service)
+INSTALL(FILES service/ode-progress-ui@.service DESTINATION ${SYSTEMD_UNIT_DIR})
+
ADD_SUBDIRECTORY(po)
--- /dev/null
+[Unit]
+Description=ODE internal %i progress UI
+
+[Service]
+User=application
+Group=application
+SmackProcessLabel=System
+EnvironmentFile=/run/tizen-system-env
+EnvironmentFile=/run/xdg-root-env
+ExecStart=/usr/bin/ode progress %i Internal
+
void DecryptDeviceInterface::onConfirmed(const std::string ¤t)
{
encryption.decrypt(current);
+ ::sleep(2);
dispose();
}
void EncryptDeviceInterface::onConfirmed(const std::string ¤t)
{
encryption.encrypt(current, confirmPage->getOption());
+ ::sleep(2);
dispose();
}
%{odeapp_home}/bin/*
%{odeapp_home}/res/*
%{TZ_SYS_RO_PACKAGES}/org.tizen.ode.xml
+%{_unitdir}/ode-progress-ui@.service
## Secure Erase Application Package ################################
%package -n org.tizen.secure-erase