DroidFish: Suppressed a warning.

This commit is contained in:
Peter Osterlund 2014-03-28 22:32:21 +00:00
parent bfef649156
commit 9cef130ce1

View File

@ -59,6 +59,7 @@ import org.petero.droidfish.gtb.Probe;
import com.larvalabs.svgandroid.SVG;
import com.larvalabs.svgandroid.SVGParser;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
@ -1079,6 +1080,7 @@ public class DroidFish extends Activity implements GUIInterface {
button.setScaleType(ScaleType.FIT_XY);
}
@SuppressLint("Wakelock")
private synchronized final void setWakeLock(boolean enableLock) {
WakeLock wl = wakeLock;
if (wl != null) {