From 58c988a83aa74bc99c1e82d4e7e16667d041ce02 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 12 Apr 2023 13:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DACache=E8=AF=BB=E5=A4=9A?= =?UTF-8?q?=E8=A1=8C=E6=96=87=E6=9C=AC=E6=9C=AA=E6=8D=A2=E8=A1=8C=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yunbao/common/manager/base/ACache.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/yunbao/common/manager/base/ACache.java b/common/src/main/java/com/yunbao/common/manager/base/ACache.java index 3876b7f00..d414eb9cb 100644 --- a/common/src/main/java/com/yunbao/common/manager/base/ACache.java +++ b/common/src/main/java/com/yunbao/common/manager/base/ACache.java @@ -22,6 +22,7 @@ import android.graphics.Canvas; import android.graphics.PixelFormat; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; +import android.util.Log; import org.json.JSONArray; import org.json.JSONObject; @@ -160,7 +161,7 @@ public class ACache { String readString = ""; String currentLine; while ((currentLine = in.readLine()) != null) { - readString += currentLine; + readString += currentLine+"\n"; } if (!Utils.isDue(readString)) { return Utils.clearDateInfo(readString);