client: parse product_name from state file only on Android

This commit is contained in:
David Anderson 2013-05-23 23:29:44 -07:00
parent c1e96dd308
commit a132fcba02
1 changed files with 2 additions and 0 deletions

View File

@ -93,7 +93,9 @@ int HOST_INFO::parse(XML_PARSER& xp, bool benchmarks_only) {
}
if (xp.parse_double("p_calculated", p_calculated)) continue;
if (xp.parse_bool("p_vm_extensions_disabled", p_vm_extensions_disabled)) continue;
#ifdef ANDROID
if (xp.parse_str("product_name", product_name, sizeof(product_name))) continue;
#endif
if (benchmarks_only) continue;