remove assert that fired for one user

This commit is contained in:
Eric House 2022-05-15 09:54:19 -07:00
parent fbec2c926f
commit 71e957421c
2 changed files with 2 additions and 2 deletions

View file

@ -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 ) {

View file

@ -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;
} }
} }