Reactivate the uncaught exception handler

Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
This commit is contained in:
Óscar García Amor 2020-06-18 10:12:50 +02:00
parent a8c7b6765e
commit 884cf8b1b0
1 changed files with 3 additions and 3 deletions

View File

@ -1248,9 +1248,9 @@ public class SubsonicTabActivity extends ResultActivity implements OnClickListen
File file = null; File file = null;
PrintWriter printWriter = null; PrintWriter printWriter = null;
/*try try
{ {
file = new File(Environment.getExternalStorageDirectory(), filename); file = new File(FileUtil.getUltraSonicDirectory(context), filename);
printWriter = new PrintWriter(file); printWriter = new PrintWriter(file);
printWriter.println("Android API level: " + Build.VERSION.SDK_INT); printWriter.println("Android API level: " + Build.VERSION.SDK_INT);
printWriter.println("UltraSonic version name: " + Util.getVersionName(context)); printWriter.println("UltraSonic version name: " + Util.getVersionName(context));
@ -1270,7 +1270,7 @@ public class SubsonicTabActivity extends ResultActivity implements OnClickListen
{ {
defaultHandler.uncaughtException(thread, throwable); defaultHandler.uncaughtException(thread, throwable);
} }
}*/ }
} }
} }