wineandroid: Enable some Java compiler warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
61888e0012
commit
4e21bb44e4
|
@ -729,7 +729,7 @@ public boolean dispatchKeyEvent( KeyEvent event )
|
||||||
{
|
{
|
||||||
Log.i( LOGTAG, String.format( "view key event win %08x action %d keycode %d (%s)",
|
Log.i( LOGTAG, String.format( "view key event win %08x action %d keycode %d (%s)",
|
||||||
window.hwnd, event.getAction(), event.getKeyCode(),
|
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(),
|
boolean ret = wine_keyboard_event( window.hwnd, event.getAction(), event.getKeyCode(),
|
||||||
event.getMetaState() );
|
event.getMetaState() );
|
||||||
if (!ret) ret = super.dispatchKeyEvent(event);
|
if (!ret) ret = super.dispatchKeyEvent(event);
|
||||||
|
|
|
@ -56,6 +56,11 @@ tasks.whenTaskAdded { t ->
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile)
|
||||||
|
{
|
||||||
|
options.compilerArgs << "-Xlint"
|
||||||
|
}
|
||||||
|
|
||||||
android
|
android
|
||||||
{
|
{
|
||||||
compileSdkVersion 25
|
compileSdkVersion 25
|
||||||
|
|
Loading…
Reference in New Issue