mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Migrate crash reports to ACRA
This commit is contained in:
@@ -15,6 +15,7 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import static android.content.Context.MODE_PRIVATE;
|
||||
@@ -24,7 +25,7 @@ public class AndroidUtils {
|
||||
// Fake Bluetooth address returned by BluetoothAdapter on API 23 and later
|
||||
private static final String FAKE_BLUETOOTH_ADDRESS = "02:00:00:00:00:00";
|
||||
|
||||
private static final String STORED_CRASH_REPORTS = "crash-reports";
|
||||
private static final String STORED_REPORTS = "dev-reports";
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
@SuppressWarnings("deprecation")
|
||||
@@ -89,7 +90,7 @@ public class AndroidUtils {
|
||||
}
|
||||
}
|
||||
|
||||
public static File getCrashReportDir(Context ctx) {
|
||||
return ctx.getDir(STORED_CRASH_REPORTS, MODE_PRIVATE);
|
||||
public static File getReportDir(Context ctx) {
|
||||
return ctx.getDir(STORED_REPORTS, MODE_PRIVATE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user