Dead object is not our fault

pull/163/head
M66B 5 years ago
parent 82afb91885
commit 680dc6186a

@ -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)

Loading…
Cancel
Save