Merge branch 'android_branch' into android_bt

This commit is contained in:
Eric House 2012-04-12 20:59:47 -07:00
commit 5b5b969e71

View file

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