Sore the cores number on everycase

This commit is contained in:
Laurent Clouet
2015-06-05 12:51:27 +00:00
parent c6e2a72ab2
commit 462a4d4506

View File

@@ -314,8 +314,7 @@ public class Settings implements Activity {
}
int cpu_cores = -1;
CPU cpu = new CPU();
if (cpuCores != null && cpuCores.getValue() != cpu.cores()) { // max core <=> no config (-1)
if (cpuCores != null) {
cpu_cores = cpuCores.getValue();
}