|
|
@ -34,11 +34,10 @@ import android.os.strictmode.Violation;
|
|
|
|
import android.util.Printer;
|
|
|
|
import android.util.Printer;
|
|
|
|
import android.webkit.CookieManager;
|
|
|
|
import android.webkit.CookieManager;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
import androidx.preference.PreferenceManager;
|
|
|
|
import androidx.preference.PreferenceManager;
|
|
|
|
import androidx.work.WorkManager;
|
|
|
|
import androidx.work.WorkManager;
|
|
|
|
|
|
|
|
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.Locale;
|
|
|
|
import java.util.Locale;
|
|
|
@ -132,7 +131,7 @@ public class ApplicationEx extends Application
|
|
|
|
|
|
|
|
|
|
|
|
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
|
|
|
|
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void uncaughtException(@NotNull Thread thread, @NotNull Throwable ex) {
|
|
|
|
public void uncaughtException(@NonNull Thread thread, @NonNull Throwable ex) {
|
|
|
|
if (!crash_reports && Log.isOwnFault(ex)) {
|
|
|
|
if (!crash_reports && Log.isOwnFault(ex)) {
|
|
|
|
Log.e(ex);
|
|
|
|
Log.e(ex);
|
|
|
|
|
|
|
|
|
|
|
|