Android: Removed empty onDraw() override method from SDLActivity.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 17 Sep 2015 22:14:37 +0200
changeset 9867bf0a56e8b606
parent 9866 88e9cf11b8eb
child 9868 c30778c4267d
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
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Tue Sep 15 00:25:07 2015 -0300
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Thu Sep 17 22:14:37 2015 +0200
     1.3 @@ -1136,11 +1136,6 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -    // unused
     1.8 -    @Override
     1.9 -    public void onDraw(Canvas canvas) {}
    1.10 -
    1.11 -
    1.12      // Key events
    1.13      @Override
    1.14      public boolean onKey(View  v, int keyCode, KeyEvent event) {