Auto-disable CRC reporting in power save mode.

This commit is contained in:
Unknown W. Brackets committed 2016-07-24 17:31:41 -07:00
1 parent f366f09c4c
commit 372798e16c
2 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -23,6 +23,7 @@
#include "UI/PauseScreen.h"
#include "UI/ReportScreen.h"
#include "Core/Core.h"
#include "Core/Reporting.h"
#include "Core/Screenshot.h"
#include "Core/System.h"
@@ -224,7 +225,9 @@ void ReportScreen::CreateViews() {
}
#ifdef MOBILE_DEVICE
leftColumnItems->Add(new TextView(rp->T("FeedbackIncludeCRC", "Note: Battery will be used to send a disc CRC"), new LinearLayoutParams(Margins(12, 5, 0, 5))))->SetEnabledPtr(&enableReporting_);
if (!Core_GetPowerSaving()) {
leftColumnItems->Add(new TextView(rp->T("FeedbackIncludeCRC", "Note: Battery will be used to send a disc CRC"), new LinearLayoutParams(Margins(12, 5, 0, 5))))->SetEnabledPtr(&enableReporting_);
}
#endif
std::string path = GetSysDirectory(DIRECTORY_SCREENSHOT);