| 391 | } |
| 392 | |
| 393 | void AppService::gatherLogsFromString(const QString &newOutput) |
| 394 | { |
| 395 | #ifdef Q_OS_ANDROID |
| 396 | if (m_clientsFollowingLog) { |
| 397 | QJniObject(QNativeInterface::QAndroidApplication::context()) |
| 398 | .callMethod<jint>("sendMessageToClients", static_cast<jint>(ActivityAction::AppendLog), 0, 0, newOutput); |
| 399 | } |
| 400 | #else |
| 401 | emit logsAvailable(newOutput); |
| 402 | #endif |
| 403 | m_log.append(newOutput); |
| 404 | } |
| 405 | |
| 406 | void AppService::gatherLogsFromBytes(const QByteArray &newOutput) |
| 407 | { |
nothing calls this directly
no outgoing calls
no test coverage detected