mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2024-12-26 09:58:20 +01:00
Use a second build config switch for the unhandled exception catcher
This commit is contained in:
parent
c2ac9e3469
commit
89120de6d9
2 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ android {
|
|||
versionCode 326
|
||||
versionName "14.3-beta5 (x)"
|
||||
buildConfigField "boolean", "IS_BETA", "true" // change in core too
|
||||
buildConfigField "boolean", "HAS_UEC", "false"
|
||||
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 28
|
||||
|
|
|
@ -526,7 +526,7 @@ public class Dashboard extends ResourceWrapperActivity implements OnLongClickLis
|
|||
mUndoStack.setUndoListener(this);
|
||||
|
||||
|
||||
if(BuildConfig.IS_BETA) {
|
||||
if(BuildConfig.HAS_UEC) {
|
||||
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
|
||||
@Override
|
||||
public void uncaughtException(Thread paramThread, Throwable paramThrowable) {
|
||||
|
|
Loading…
Reference in a new issue