1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00

Fix TAG warning and update Javadoc

Conflicts:
	src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java
This commit is contained in:
Lode Hoste 2015-04-08 23:54:08 +02:00
parent 58d299a18e
commit 07ba64398e

View file

@ -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);
}
}
});