mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-01 22:22:15 +00:00
Replace System.getProperty('line.separator') with System.lineSeparator().
Resolves #13768
This commit is contained in:
committed by
Greyson Parrelli
parent
cafbf48783
commit
87500449a0
@@ -21,7 +21,7 @@ public class LogSectionLogcat implements LogSection {
|
||||
final Process process = Runtime.getRuntime().exec("logcat -d");
|
||||
final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(process.getInputStream()));
|
||||
final StringBuilder log = new StringBuilder();
|
||||
final String separator = System.getProperty("line.separator");
|
||||
final String separator = System.lineSeparator();
|
||||
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
|
||||
Reference in New Issue
Block a user