Always generate crash report for non Play store install

This commit is contained in:
M66B 2018-09-18 10:20:42 +00:00
parent 3a7a392f33
commit 43f9db2833
1 changed files with 3 additions and 3 deletions

View File

@ -84,15 +84,15 @@ public class ApplicationEx extends Application {
} }
public boolean ownFault(Throwable ex) { public boolean ownFault(Throwable ex) {
if (!Helper.isPlayStoreInstall(this))
return true;
if (ex instanceof OutOfMemoryError) if (ex instanceof OutOfMemoryError)
return false; return false;
if (ex instanceof RemoteException) if (ex instanceof RemoteException)
return false; return false;
if (!Helper.isPlayStoreInstall(this))
return true;
while (ex != null) { while (ex != null) {
for (StackTraceElement ste : ex.getStackTrace()) for (StackTraceElement ste : ex.getStackTrace())
if (ste.getClassName().startsWith(getPackageName())) if (ste.getClassName().startsWith(getPackageName()))