mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
remove assert that fired for one user
This commit is contained in:
parent
fbec2c926f
commit
71e957421c
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ public class XWActivity extends FragmentActivity
|
||||||
super.onCreate( savedInstanceState );
|
super.onCreate( savedInstanceState );
|
||||||
Assert.assertNotNull( dlgt );
|
Assert.assertNotNull( dlgt );
|
||||||
m_dlgt = dlgt;
|
m_dlgt = dlgt;
|
||||||
Assert.assertTrue( getApplicationContext() == XWApp.getContext() );
|
Assert.assertTrueNR( getApplicationContext() == XWApp.getContext() );
|
||||||
|
|
||||||
// Looks like there's an Oreo-only bug
|
// Looks like there's an Oreo-only bug
|
||||||
if ( setOrientation && Build.VERSION_CODES.O != Build.VERSION.SDK_INT ) {
|
if ( setOrientation && Build.VERSION_CODES.O != Build.VERSION.SDK_INT ) {
|
||||||
|
|
|
@ -140,7 +140,7 @@ public class XWApp extends Application
|
||||||
|
|
||||||
public static Context getContext()
|
public static Context getContext()
|
||||||
{
|
{
|
||||||
Assert.assertNotNull( s_context );
|
Assert.assertTrueNR( null != s_context );
|
||||||
return s_context;
|
return s_context;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue