Renamed inner class in Java file to avoid confusion with an unrelated class.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 27 Apr 2013 17:10:14 +0200
changeset 7121d84a691ec568
parent 7120 bc4424a5a38f
child 7122 40160a4c0bd8
Renamed inner class in Java file to avoid confusion with an unrelated class.
android-project/src/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/src/org/libsdl/app/SDLActivity.java	Sat Apr 27 14:33:27 2013 +0200
     1.2 +++ b/android-project/src/org/libsdl/app/SDLActivity.java	Sat Apr 27 17:10:14 2013 +0200
     1.3 @@ -205,7 +205,7 @@
     1.4          }
     1.5      }
     1.6      
     1.7 -    static class ShowTextInputHandler implements Runnable {
     1.8 +    static class ShowTextInputTask implements Runnable {
     1.9          /*
    1.10           * This is used to regulate the pan&scan method to have some offset from
    1.11           * the bottom edge of the input region and the top edge of an input
    1.12 @@ -215,7 +215,7 @@
    1.13  
    1.14          public int x, y, w, h;
    1.15  
    1.16 -        public ShowTextInputHandler(int x, int y, int w, int h) {
    1.17 +        public ShowTextInputTask(int x, int y, int w, int h) {
    1.18              this.x = x;
    1.19              this.y = y;
    1.20              this.w = w;
    1.21 @@ -241,12 +241,11 @@
    1.22              InputMethodManager imm = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
    1.23              imm.showSoftInput(mTextEdit, 0);
    1.24          }
    1.25 -
    1.26      }
    1.27  
    1.28      public static void showTextInput(int x, int y, int w, int h) {
    1.29          // Transfer the task to the main thread as a Runnable
    1.30 -        mSingleton.commandHandler.post(new ShowTextInputHandler(x, y, w, h));
    1.31 +        mSingleton.commandHandler.post(new ShowTextInputTask(x, y, w, h));
    1.32      }
    1.33  
    1.34