new DebugUtils method

This commit is contained in:
Eric House 2018-12-09 17:11:38 -08:00
parent 18e29a74ed
commit 450c39ed57

View file

@ -101,7 +101,12 @@ public class DbgUtils {
public static void assertOnUIThread()
{
Assert.assertTrue( Utils.isOnUIThread() );
assertOnUIThread( true );
}
public static void assertOnUIThread( boolean isOnThread )
{
Assert.assertTrue( isOnThread == Utils.isOnUIThread() );
}
public static void printStack( String tag, StackTraceElement[] trace )