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
android/BOINC/src/edu/berkeley/boinc/client
|
@ -570,8 +570,9 @@ public class Monitor extends Service {
|
|||
//
|
||||
clientPid = getPidForProcessName(clientProcessName);
|
||||
if(clientPid != null) {
|
||||
publishProgress("Starting the BOINC client");
|
||||
if (!runClient()) {
|
||||
publishProgress("BOINC client failed to start!");
|
||||
publishProgress("BOINC client failed to start");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -747,7 +748,6 @@ public class Monitor extends Service {
|
|||
}
|
||||
|
||||
// Find required pid
|
||||
publishProgress("getPidForProcessName(): " + processName + " is " + pMap.get(processName).toString());
|
||||
return pMap.get(processName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue