()
| 256 | } |
| 257 | |
| 258 | private boolean startCore() { |
| 259 | isRootMissing = false; |
| 260 | try { |
| 261 | System.initCore(); |
| 262 | |
| 263 | return true; |
| 264 | } catch (System.SuException e) { |
| 265 | onInitializationError(getString(R.string.only_4_root)); |
| 266 | isRootMissing = true; |
| 267 | } catch (System.DaemonException e) { |
| 268 | Logger.error(e.getMessage()); |
| 269 | } |
| 270 | |
| 271 | return false; |
| 272 | } |
| 273 | |
| 274 | private void onCoreBeating() { |
| 275 | if (Client.hadCrashed()) { |
no test coverage detected