mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
cleanup: logging and unused imports
This commit is contained in:
parent
60adf36718
commit
9d7d0aca2b
3 changed files with 0 additions and 17 deletions
|
@ -813,7 +813,6 @@ public class DBUtils {
|
||||||
|
|
||||||
private static void clearRowIDsCache()
|
private static void clearRowIDsCache()
|
||||||
{
|
{
|
||||||
DbgUtils.logf( "DBUtils.clearRowIDsCache()" );
|
|
||||||
synchronized( DBUtils.class ) {
|
synchronized( DBUtils.class ) {
|
||||||
s_cachedRowIDs = null;
|
s_cachedRowIDs = null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,26 +20,15 @@
|
||||||
package org.eehouse.android.xw4;
|
package org.eehouse.android.xw4;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.database.DataSetObserver;
|
|
||||||
import android.os.Build;
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.ImageButton;
|
|
||||||
import android.widget.ImageView;
|
|
||||||
import android.widget.LinearLayout;
|
|
||||||
import android.widget.ListAdapter;
|
import android.widget.ListAdapter;
|
||||||
import android.widget.ListView;
|
import android.widget.ListView;
|
||||||
import android.widget.TextView;
|
|
||||||
import java.io.FileInputStream;
|
|
||||||
import java.text.DateFormat;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.Random;
|
|
||||||
|
|
||||||
import junit.framework.Assert;
|
import junit.framework.Assert;
|
||||||
|
|
||||||
|
|
||||||
import org.eehouse.android.xw4.jni.*;
|
import org.eehouse.android.xw4.jni.*;
|
||||||
import org.eehouse.android.xw4.jni.CurGameInfo.DeviceRole;
|
import org.eehouse.android.xw4.jni.CurGameInfo.DeviceRole;
|
||||||
import org.eehouse.android.xw4.jni.CommsAddrRec.CommsConnType;
|
import org.eehouse.android.xw4.jni.CommsAddrRec.CommsConnType;
|
||||||
|
@ -50,7 +39,6 @@ public class GameListAdapter extends XWListAdapter {
|
||||||
private LayoutInflater m_factory;
|
private LayoutInflater m_factory;
|
||||||
private int m_fieldID;
|
private int m_fieldID;
|
||||||
private Handler m_handler;
|
private Handler m_handler;
|
||||||
private DateFormat m_df;
|
|
||||||
private LoadItemCB m_cb;
|
private LoadItemCB m_cb;
|
||||||
|
|
||||||
public interface LoadItemCB {
|
public interface LoadItemCB {
|
||||||
|
@ -65,8 +53,6 @@ public class GameListAdapter extends XWListAdapter {
|
||||||
m_handler = handler;
|
m_handler = handler;
|
||||||
m_cb = cb;
|
m_cb = cb;
|
||||||
m_factory = LayoutInflater.from( context );
|
m_factory = LayoutInflater.from( context );
|
||||||
m_df = DateFormat.getDateTimeInstance( DateFormat.SHORT,
|
|
||||||
DateFormat.SHORT );
|
|
||||||
|
|
||||||
m_fieldID = fieldToID( fieldName );
|
m_fieldID = fieldToID( fieldName );
|
||||||
}
|
}
|
||||||
|
|
|
@ -430,8 +430,6 @@ public class GameUtils {
|
||||||
String mime = context.getString( R.string.invite_mime );
|
String mime = context.getString( R.string.invite_mime );
|
||||||
intent.setType( mime );
|
intent.setType( mime );
|
||||||
Uri uri = Uri.fromFile( attach );
|
Uri uri = Uri.fromFile( attach );
|
||||||
DbgUtils.logf( "using file uri %s, type %s for attachment",
|
|
||||||
uri.toString(), mime );
|
|
||||||
intent.putExtra( Intent.EXTRA_STREAM, uri );
|
intent.putExtra( Intent.EXTRA_STREAM, uri );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue