Renamed inner class in Java file to avoid confusion with an unrelated class.
--- a/android-project/src/org/libsdl/app/SDLActivity.java Sat Apr 27 14:33:27 2013 +0200
+++ b/android-project/src/org/libsdl/app/SDLActivity.java Sat Apr 27 17:10:14 2013 +0200
@@ -205,7 +205,7 @@
}
}
- static class ShowTextInputHandler implements Runnable {
+ static class ShowTextInputTask implements Runnable {
/*
* This is used to regulate the pan&scan method to have some offset from
* the bottom edge of the input region and the top edge of an input
@@ -215,7 +215,7 @@
public int x, y, w, h;
- public ShowTextInputHandler(int x, int y, int w, int h) {
+ public ShowTextInputTask(int x, int y, int w, int h) {
this.x = x;
this.y = y;
this.w = w;
@@ -241,12 +241,11 @@
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(mTextEdit, 0);
}
-
}
public static void showTextInput(int x, int y, int w, int h) {
// Transfer the task to the main thread as a Runnable
- mSingleton.commandHandler.post(new ShowTextInputHandler(x, y, w, h));
+ mSingleton.commandHandler.post(new ShowTextInputTask(x, y, w, h));
}