void HandleDownloadEta(int seconds);
void HandleDownloadFail(int type);
- void SetUpgradeDescription(const std::string& description);
+ void SetUpgradeDescription(const std::string description);
std::string GetUpgradeDescription() const;
private:
OtaModel();
LittleTextLabel->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER);
LittleTextLabel->SetFont(DEFAULT_VECTOR_FONT_FILENAME, 18);
LittleTextLabel->SetStyle(STYLE_TEXT_COLOR, 0xffcccccc);
- LittleTextLabel->SetText("请至少充至50%电量哦");
+ LittleTextLabel->SetText("请至少充至30%电量哦");
LittleTextLabel->SetVisible(true);
group->Add(LittleTextLabel);
}
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "OtaModel: Night update status cleared from KV storage");
}
- void OtaModel::SetUpgradeDescription(const std::string& description)
+ void OtaModel::SetUpgradeDescription(const std::string description)
{
m_upgradeDescription = description;
+ WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SetUpgradeDescription:%s",m_upgradeDescription.c_str());
}
std::string OtaModel::GetUpgradeDescription() const