Module: wine Branch: master Commit: f33c51bb8c407da4a4d24e41a2cc77b31baf9490 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f33c51bb8c407da4a4d24e41a...
Author: Isira Seneviratne isirasen96@gmail.com Date: Thu Mar 28 15:26:30 2019 +0530
wineandroid.drv: Add Override annotation to overridden methods.
Signed-off-by: Isira Seneviratne isirasen96@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wineandroid.drv/WineActivity.java | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/dlls/wineandroid.drv/WineActivity.java b/dlls/wineandroid.drv/WineActivity.java index 9229955..14385c0 100644 --- a/dlls/wineandroid.drv/WineActivity.java +++ b/dlls/wineandroid.drv/WineActivity.java @@ -672,6 +672,7 @@ public class WineActivity extends Activity return window; }
+ @Override public void onSurfaceTextureAvailable( SurfaceTexture surftex, int width, int height ) { Log.i( LOGTAG, String.format( "onSurfaceTextureAvailable win %08x %dx%d %s", @@ -679,6 +680,7 @@ public class WineActivity extends Activity window.set_surface( surftex, is_client ); }
+ @Override public void onSurfaceTextureSizeChanged( SurfaceTexture surftex, int width, int height ) { Log.i( LOGTAG, String.format( "onSurfaceTextureSizeChanged win %08x %dx%d %s", @@ -686,6 +688,7 @@ public class WineActivity extends Activity window.set_surface( surftex, is_client); }
+ @Override public boolean onSurfaceTextureDestroyed( SurfaceTexture surftex ) { Log.i( LOGTAG, String.format( "onSurfaceTextureDestroyed win %08x %s", @@ -694,6 +697,7 @@ public class WineActivity extends Activity return false; // hold on to the texture since the app may still be using it }
+ @Override public void onSurfaceTextureUpdated(SurfaceTexture surftex) { } @@ -704,6 +708,7 @@ public class WineActivity extends Activity return current_cursor; }
+ @Override public boolean onGenericMotionEvent( MotionEvent event ) { if (is_client) return false; // let the whole window handle it @@ -722,6 +727,7 @@ public class WineActivity extends Activity return super.onGenericMotionEvent(event); }
+ @Override public boolean onTouchEvent( MotionEvent event ) { if (is_client) return false; // let the whole window handle it @@ -736,6 +742,7 @@ public class WineActivity extends Activity event.getButtonState(), 0 ); }
+ @Override public boolean dispatchKeyEvent( KeyEvent event ) { Log.i( LOGTAG, String.format( "view key event win %08x action %d keycode %d (%s)",