From 79b60ae895d0c312a8fa142f4300f2af11cb36d9 Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 29 Nov 2013 08:48:13 -0800 Subject: [PATCH] cleanup --- .../XWords4/src/org/eehouse/android/xw4/jni/SyncedDraw.java | 1 - .../XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/SyncedDraw.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/SyncedDraw.java index c473c963f..440e1f413 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/SyncedDraw.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/SyncedDraw.java @@ -21,7 +21,6 @@ package org.eehouse.android.xw4.jni; import android.graphics.Rect; -import org.eehouse.android.xw4.jni.BoardDims; public interface SyncedDraw { void doJNIDraw(); diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java index fc81da1ac..ee1fd64e6 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java @@ -21,16 +21,12 @@ package org.eehouse.android.xw4.jni; import android.graphics.Rect; -import org.eehouse.android.xw4.jni.BoardDims; // Collection of native methods public class XwJNI { - // This needs to be called before the first attempt to use the - // jni. I figure this class has to be loaded before that cna - // happen. Doing this in GamesList isn't enough because sometimes - // BoardActivity is the first Activity loaded. + // jni. static { System.loadLibrary("xwjni"); }