DroidFish: Lint fixes, from Leo Mayer.

This commit is contained in:
Peter Osterlund
2012-09-28 17:52:42 +00:00
parent 12f43e5d0c
commit 935fe8e4fe
8 changed files with 2 additions and 15 deletions

View File

@@ -533,9 +533,6 @@ public class DroidFish extends Activity implements GUIInterface {
}
private final void initUI() {
// The Android app title is removed with the style, but remains
// individually in the Layout cause we need it to have in 2 lines +
// landscape and portrait differ quite much
leftHanded = leftHandedView();
setContentView(leftHanded ? R.layout.main_left_handed : R.layout.main);

View File

@@ -18,6 +18,7 @@
package org.petero.droidfish.engine;
import android.annotation.TargetApi;
import android.os.Build;
public class EngineUtil {
@@ -28,6 +29,7 @@ public class EngineUtil {
/** Return number of physical processors, i.e. hyper-threading ignored. */
final static native int getNPhysicalProcessors();
@TargetApi(4)
private static final class CpuAbi {
static final String get() { return Build.CPU_ABI; }
}