Commit 4e21bb44 authored by Alexandre Julliard's avatar Alexandre Julliard

wineandroid: Enable some Java compiler warnings.

parent 61888e00
......@@ -729,7 +729,7 @@ public class WineActivity extends Activity
{
Log.i( LOGTAG, String.format( "view key event win %08x action %d keycode %d (%s)",
window.hwnd, event.getAction(), event.getKeyCode(),
event.keyCodeToString( event.getKeyCode() )));;
KeyEvent.keyCodeToString( event.getKeyCode() )));;
boolean ret = wine_keyboard_event( window.hwnd, event.getAction(), event.getKeyCode(),
event.getMetaState() );
if (!ret) ret = super.dispatchKeyEvent(event);
......
......@@ -56,6 +56,11 @@ tasks.whenTaskAdded { t ->
}
}
tasks.withType(JavaCompile)
{
options.compilerArgs << "-Xlint"
}
android
{
compileSdkVersion 25
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment