flush() explicitly before close() - although, the docs says other, there is a difference eg. on android7/motog and data are not ready without flush() when read from another thread

This commit is contained in:
B. Petersen
2019-05-11 14:11:02 +02:00
parent 9d255bc343
commit a44abd307a
@@ -178,6 +178,7 @@ public class Util {
}
in.close();
out.flush();
out.close();
return total;