mirror of https://github.com/BOINC/boinc.git
Android: Remove code that was causing a null reference exception
This commit is contained in:
parent
10e78e4586
commit
47ca84501f
|
@ -570,8 +570,9 @@ public class Monitor extends Service {
|
||||||
//
|
//
|
||||||
clientPid = getPidForProcessName(clientProcessName);
|
clientPid = getPidForProcessName(clientProcessName);
|
||||||
if(clientPid != null) {
|
if(clientPid != null) {
|
||||||
|
publishProgress("Starting the BOINC client");
|
||||||
if (!runClient()) {
|
if (!runClient()) {
|
||||||
publishProgress("BOINC client failed to start!");
|
publishProgress("BOINC client failed to start");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -747,7 +748,6 @@ public class Monitor extends Service {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find required pid
|
// Find required pid
|
||||||
publishProgress("getPidForProcessName(): " + processName + " is " + pMap.get(processName).toString());
|
|
||||||
return pMap.get(processName);
|
return pMap.get(processName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue