Minor cleanup with GOLD define - only use it in System_GetPropertyInt

This commit is contained in:
Henrik Rydgard committed 2017-04-05 16:21:08 +02:00
1 parent 3ae13f3c05
commit cf365bb257
15 files changed
+92 -54

No files matched your search

+3 -3
View File
@@ -464,9 +464,9 @@ void SystemInfoScreen::CreateViews() {
#ifdef MOBILE_DEVICE
buildConfig->Add(new InfoItem("MOBILE_DEVICE", ""));
#endif
#ifdef GOLD
buildConfig->Add(new InfoItem("GOLD", ""));
#endif
if (System_GetPropertyInt(SYSPROP_APP_GOLD)) {
buildConfig->Add(new InfoItem("GOLD", ""));
}
ViewGroup *cpuExtensionsScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
cpuExtensionsScroll->SetTag("DevSystemInfoCPUExt");