From 68b3b5423e8b64203fa56b4b59437e042f23fd17 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 17 Sep 2015 22:14:37 +0200 Subject: [PATCH] Android: Removed empty onDraw() override method from SDLActivity. It was redundant because SDLActivity already inherits an empty method from the base class SurfaceView (which does not implement it but inherits it from View). Visibility of onDraw() in SDLActivity is now protected again instead of public. --- android-project/src/org/libsdl/app/SDLActivity.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java index 54feb7d7d..cbb055f56 100644 --- a/android-project/src/org/libsdl/app/SDLActivity.java +++ b/android-project/src/org/libsdl/app/SDLActivity.java @@ -1136,11 +1136,6 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback, } } - // unused - @Override - public void onDraw(Canvas canvas) {} - - // Key events @Override public boolean onKey(View v, int keyCode, KeyEvent event) {