mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
Remove base conditional code for crash reporter and injector.
This commit is contained in:
parent
87fa26d31e
commit
434f3590e3
131 changed files with 39 additions and 4139 deletions
|
|
@ -467,10 +467,6 @@ public class CrashHandler implements Thread.UncaughtExceptionHandler {
|
|||
|
||||
@Override
|
||||
public boolean reportException(final Thread thread, final Throwable exc) {
|
||||
if (AppConstants.MOZ_CRASHREPORTER && AppConstants.MOZILLA_OFFICIAL) {
|
||||
// Only use Java crash reporter if enabled on official build.
|
||||
return super.reportException(thread, exc);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -166,10 +166,6 @@ public class GeckoAppShell
|
|||
|
||||
// reportJavaCrash should have caused us to hard crash. If we're still here,
|
||||
// it probably means Gecko is not loaded, and we should do something else.
|
||||
if (AppConstants.MOZ_CRASHREPORTER && AppConstants.MOZILLA_OFFICIAL) {
|
||||
// Only use Java crash reporter if enabled on official build.
|
||||
return super.reportException(thread, exc);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue