From 884cf8b1b04f474fd0bead0f38c1203bd57642c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Garc=C3=ADa=20Amor?= Date: Thu, 18 Jun 2020 10:12:50 +0200 Subject: [PATCH] Reactivate the uncaught exception handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Óscar García Amor --- .../org/moire/ultrasonic/activity/SubsonicTabActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ultrasonic/src/main/java/org/moire/ultrasonic/activity/SubsonicTabActivity.java b/ultrasonic/src/main/java/org/moire/ultrasonic/activity/SubsonicTabActivity.java index e176d5fc..7f5e2222 100644 --- a/ultrasonic/src/main/java/org/moire/ultrasonic/activity/SubsonicTabActivity.java +++ b/ultrasonic/src/main/java/org/moire/ultrasonic/activity/SubsonicTabActivity.java @@ -1248,9 +1248,9 @@ public class SubsonicTabActivity extends ResultActivity implements OnClickListen File file = null; PrintWriter printWriter = null; - /*try + try { - file = new File(Environment.getExternalStorageDirectory(), filename); + file = new File(FileUtil.getUltraSonicDirectory(context), filename); printWriter = new PrintWriter(file); printWriter.println("Android API level: " + Build.VERSION.SDK_INT); printWriter.println("UltraSonic version name: " + Util.getVersionName(context)); @@ -1270,7 +1270,7 @@ public class SubsonicTabActivity extends ResultActivity implements OnClickListen { defaultHandler.uncaughtException(thread, throwable); } - }*/ + } } }