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;
}
}
void bootCompletionCallback(dbus::Variant parameters)
{
-
auto waitForHomescreen = []() {
//For a delay until homescreen is totally loaded
sleep(8);
} catch (...) {
TEST_FAIL("UNKNOWN ERROR");
}
-
-
}
\ No newline at end of file
void InsertSDCardInterface::create()
{
-
/* Enter SD Card Password Popup */
popup = new MobileDefaultPopup(window);
popup->setTitleText(dgetText("IDS_ST_HEADER_ENTER_SD_CARD_PASSWORD"));
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();
#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]() {
};