From 1cfe3bd10751cf26e53d022e2970e41011cdcbe9 Mon Sep 17 00:00:00 2001 From: s414kim Date: Thu, 14 Sep 2017 09:46:17 +0900 Subject: [PATCH] Apply tizen coding rules - Delete redundant blank line - Add or Remove white-space before '(' Change-Id: I034f3b9e9e57f97eacb5d024df8e47c852349142 Signed-off-by: s414kim --- server/extension-encryption.cpp | 3 --- server/external-encryption.cpp | 1 - tests/af.cpp | 2 -- tools/apps/ode/src/interface/external/insert-sdcard.cpp | 1 - tools/apps/ode/src/interface/external/retry-sdcard.cpp | 2 +- tools/apps/ode/src/widgets/checkbox.cpp | 2 +- 6 files changed, 2 insertions(+), 9 deletions(-) diff --git a/server/extension-encryption.cpp b/server/extension-encryption.cpp index 587f1b7..c03b13a 100644 --- a/server/extension-encryption.cpp +++ b/server/extension-encryption.cpp @@ -503,18 +503,15 @@ void ExtensionEncryption::handleDevice(Operation op, if (d == Device::MMC && op == Operation::ADDED && getStatePriv() == State::Encrypted) { // TODO: when UI gets written it should be triggered here. - return; } if (d == Device::MAP && op == Operation::CHANGED) { if ((currentReq == Request::MOUNT && info[Device::MAP].mounted) || (currentReq == Request::UMOUNT && !info[Device::MAP].mounted)) { - currentReq = Request::NONE; stateLock.unlock(); storagedCv.notify_one(); - return; } } diff --git a/server/external-encryption.cpp b/server/external-encryption.cpp index 0690f2c..c6319b2 100644 --- a/server/external-encryption.cpp +++ b/server/external-encryption.cpp @@ -116,7 +116,6 @@ void externalCallback(dbus::Variant parameters) void bootCompletionCallback(dbus::Variant parameters) { - auto waitForHomescreen = []() { //For a delay until homescreen is totally loaded sleep(8); diff --git a/tests/af.cpp b/tests/af.cpp index e5e99ab..10a57cc 100644 --- a/tests/af.cpp +++ b/tests/af.cpp @@ -61,6 +61,4 @@ TESTCASE(AntiForensics) } catch (...) { TEST_FAIL("UNKNOWN ERROR"); } - - } \ No newline at end of file diff --git a/tools/apps/ode/src/interface/external/insert-sdcard.cpp b/tools/apps/ode/src/interface/external/insert-sdcard.cpp index 6ba4223..283a361 100644 --- a/tools/apps/ode/src/interface/external/insert-sdcard.cpp +++ b/tools/apps/ode/src/interface/external/insert-sdcard.cpp @@ -37,7 +37,6 @@ void InsertSDCardInterface::createPasswordSDCard() void InsertSDCardInterface::create() { - /* Enter SD Card Password Popup */ popup = new MobileDefaultPopup(window); popup->setTitleText(dgetText("IDS_ST_HEADER_ENTER_SD_CARD_PASSWORD")); diff --git a/tools/apps/ode/src/interface/external/retry-sdcard.cpp b/tools/apps/ode/src/interface/external/retry-sdcard.cpp index df0faa6..8b028c4 100644 --- a/tools/apps/ode/src/interface/external/retry-sdcard.cpp +++ b/tools/apps/ode/src/interface/external/retry-sdcard.cpp @@ -179,7 +179,7 @@ void ExternalRetry::create() std::string type(vconf.getString()); if (!type.compare("encrypt")) { popup.reset(new ExternalRetryEncrypt(window)); - } else if(!type.compare("decrypt")) { + } else if (!type.compare("decrypt")) { popup.reset(new ExternalRetryDecrypt(window)); } popup->show(); diff --git a/tools/apps/ode/src/widgets/checkbox.cpp b/tools/apps/ode/src/widgets/checkbox.cpp index e6da987..b02510f 100644 --- a/tools/apps/ode/src/widgets/checkbox.cpp +++ b/tools/apps/ode/src/widgets/checkbox.cpp @@ -18,7 +18,7 @@ #include "checkbox.h" CheckBox::CheckBox(Widget *parent) - : Widget ("CheckBox", ::elm_check_add(Widget::evasObject(parent))) + : Widget("CheckBox", ::elm_check_add(Widget::evasObject(parent))) { onChanged = [this]() { }; -- 2.7.4