Skip to content

Commit

Permalink
Android: Removed empty onDraw() override method from SDLActivity.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
philippwiesemann committed Sep 17, 2015
1 parent ecfdb10 commit 68b3b54
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -1136,11 +1136,6 @@ public void run(){
}
}

// unused
@Override
public void onDraw(Canvas canvas) {}


// Key events
@Override
public boolean onKey(View v, int keyCode, KeyEvent event) {
Expand Down

0 comments on commit 68b3b54

Please sign in to comment.