Explorar o código

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.
Philipp Wiesemann %!s(int64=10) %!d(string=hai) anos
pai
achega
68b3b5423e
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      android-project/src/org/libsdl/app/SDLActivity.java

+ 0 - 5
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
     // Key events
     @Override
     @Override
     public boolean onKey(View  v, int keyCode, KeyEvent event) {
     public boolean onKey(View  v, int keyCode, KeyEvent event) {