From 680dc6186a352098b08c5dbd9a3f55f7fabe73b4 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 12 Oct 2019 13:09:14 +0200 Subject: [PATCH] Dead object is not our fault --- app/src/main/java/eu/faircode/email/Log.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index 9f5b5f4af8..028dfccc81 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -31,7 +31,7 @@ import android.net.Network; import android.net.NetworkCapabilities; import android.os.Build; import android.os.Bundle; -import android.os.DeadSystemException; +import android.os.DeadObjectException; import android.os.Debug; import android.os.PowerManager; import android.os.RemoteException; @@ -420,7 +420,7 @@ public class Log { return false; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) - if (ex instanceof RuntimeException && ex.getCause() instanceof DeadSystemException) + if (ex instanceof RuntimeException && ex.getCause() instanceof DeadObjectException) return false; if (BuildConfig.BETA_RELEASE)