mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
Merge branch 'android_branch' into android_bt
This commit is contained in:
commit
5b5b969e71
1 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,8 @@ import java.util.Formatter;
|
|||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.database.Cursor;
|
||||
import android.database.DatabaseUtils;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.text.format.Time;
|
||||
import android.util.Log;
|
||||
|
@ -95,4 +97,12 @@ public class DbgUtils {
|
|||
printStack( Thread.currentThread().getStackTrace() );
|
||||
}
|
||||
}
|
||||
|
||||
public static void dumpCursor( Cursor cursor )
|
||||
{
|
||||
if ( s_doLog ) {
|
||||
String dump = DatabaseUtils.dumpCursorToString( cursor );
|
||||
logf( "cursor: %s", dump );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue