mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-11 04:25:53 +00:00
Fix TAG warning and update Javadoc
Conflicts: src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
This commit is contained in:
parent
58d299a18e
commit
07ba64398e
1 changed files with 3 additions and 4 deletions
|
@ -22,9 +22,7 @@ public class SyncthingRunnable implements Runnable {
|
|||
|
||||
private static final String TAG = "SyncthingRunnable";
|
||||
|
||||
private static final String TAG_NICE = "SyncthingRunnable-Nice";
|
||||
|
||||
private static final String TAG_KILL = "SyncthingRunnable-Kill";
|
||||
private static final String TAG_IONICE = "SyncthingRunnableIoNice";
|
||||
|
||||
private static final String TAG_NATIVE = "SyncthingNativeCode";
|
||||
|
||||
|
@ -267,6 +265,7 @@ public class SyncthingRunnable implements Runnable {
|
|||
* Logs the outputs of a stream to logcat and mNativeLog.
|
||||
*
|
||||
* @param is The stream to log.
|
||||
* @param priority The priority level.
|
||||
*/
|
||||
private Thread log(final InputStream is, final int priority) {
|
||||
Thread t = new Thread(new Runnable() {
|
||||
|
@ -282,7 +281,7 @@ public class SyncthingRunnable implements Runnable {
|
|||
} catch (IOException e) {
|
||||
// NOTE: This is sometimes called on shutdown, as
|
||||
// Process.destroy() closes the stream.
|
||||
Log.w(TAG, "Failed to read syncthing command line output", e);
|
||||
Log.w(TAG, "Failed to read Syncthing's command line output", e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue