Fix ode progress viewtype name 03/180003/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/4.0/unified/20180524.131156 accepted/tizen/5.0/unified/20181102.020931 accepted/tizen/unified/20180611.015301 submit/tizen/20180524.053419 submit/tizen/20180607.013257 submit/tizen_4.0/20180524.053450 submit/tizen_5.0/20181101.000004
authorseolheui kim <s414.kim@samsung.com>
Thu, 24 May 2018 05:12:12 +0000 (14:12 +0900)
committerseolheui kim <s414.kim@samsung.com>
Thu, 24 May 2018 05:12:12 +0000 (14:12 +0900)
Change-Id: Ie2cd0ecb5cec9b9537a01b2314dc449d51c64b81
Signed-off-by: seolheui kim <s414.kim@samsung.com>
ode/src/ode.cpp

index d9a632c73abfbe950e38bcc01347ed28c5b2e62b..4551ec422f524dfbb61d81471468d6ddf0d2ece9 100644 (file)
@@ -116,13 +116,17 @@ void ODEStandAlone::createProgressInterface(const std::string &type, const std::
        }
        interface->setBaseLayout();
 
-       if (!type.compare("Encrypting") && !target.compare("External")) {
+       if ((!type.compare("encrypt") || !type.compare("Encrypting"))
+                       && !target.compare("External")) {
                progress.reset(new ExternalEncryptProgress(interface->getWindow()));
-       } else if (!type.compare("Decrypting") && !target.compare("External")) {
+       } else if ((!type.compare("decrypt") || !type.compare("Decrypting"))
+                       && !target.compare("External")) {
                progress.reset(new ExternalDecryptProgress(interface->getWindow()));
-       } else if (!type.compare("Encrypting") && !target.compare("Internal")) {
+       } else if ((!type.compare("encrypt") || !type.compare("Encrypting"))
+                       && !target.compare("Internal")) {
                progress.reset(new InternalEncryptProgress(interface->getWindow()));
-       } else if (!type.compare("Decrypting") && !target.compare("Internal")) {
+       } else if ((!type.compare("decrypt") || !type.compare("Decrypting"))
+                       && !target.compare("Internal")) {
                progress.reset(new InternalDecryptProgress(interface->getWindow()));
        } else {
                throw runtime::Exception("Do not supported viewtype");