mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
don't assert on debug builds either
I'm seeing several IllegalStateException crashes due to e.g. having an alert posted when app's in the background. Need to fix them, but the debug build crashing isn't helpful. Log.e() instead.
This commit is contained in:
parent
ab0764fa5a
commit
8f86cf9a77
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ public class DBAlert extends XWDialogFragment {
|
|||
Log.d( TAG, "null activity..." );
|
||||
}
|
||||
} catch ( IllegalStateException ex ) {
|
||||
Assert.assertFalse( BuildConfig.DEBUG );
|
||||
// Assert.assertFalse( BuildConfig.DEBUG );
|
||||
Log.e( TAG, "got ISE; dropping alert" );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Add table
Reference in a new issue