Dead object is not our fault

This commit is contained in:
M66B 2019-10-12 13:09:14 +02:00
parent 82afb91885
commit 680dc6186a
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ import android.net.Network;
import android.net.NetworkCapabilities; import android.net.NetworkCapabilities;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.DeadSystemException; import android.os.DeadObjectException;
import android.os.Debug; import android.os.Debug;
import android.os.PowerManager; import android.os.PowerManager;
import android.os.RemoteException; import android.os.RemoteException;
@ -420,7 +420,7 @@ public class Log {
return false; return false;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) 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; return false;
if (BuildConfig.BETA_RELEASE) if (BuildConfig.BETA_RELEASE)