diff options
Diffstat (limited to 'src/android.c')
| -rw-r--r-- | src/android.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/android.c b/src/android.c index a0e64471a05..ebd374addbf 100644 --- a/src/android.c +++ b/src/android.c | |||
| @@ -125,7 +125,6 @@ struct android_emacs_window | |||
| 125 | jclass class; | 125 | jclass class; |
| 126 | jmethodID swap_buffers; | 126 | jmethodID swap_buffers; |
| 127 | jmethodID toggle_on_screen_keyboard; | 127 | jmethodID toggle_on_screen_keyboard; |
| 128 | jmethodID window_updated; | ||
| 129 | }; | 128 | }; |
| 130 | 129 | ||
| 131 | /* The API level of the current device. */ | 130 | /* The API level of the current device. */ |
| @@ -1830,7 +1829,6 @@ android_init_emacs_window (void) | |||
| 1830 | FIND_METHOD (swap_buffers, "swapBuffers", "()V"); | 1829 | FIND_METHOD (swap_buffers, "swapBuffers", "()V"); |
| 1831 | FIND_METHOD (toggle_on_screen_keyboard, | 1830 | FIND_METHOD (toggle_on_screen_keyboard, |
| 1832 | "toggleOnScreenKeyboard", "(Z)V"); | 1831 | "toggleOnScreenKeyboard", "(Z)V"); |
| 1833 | FIND_METHOD (window_updated, "windowUpdated", "(J)V"); | ||
| 1834 | #undef FIND_METHOD | 1832 | #undef FIND_METHOD |
| 1835 | } | 1833 | } |
| 1836 | 1834 | ||
| @@ -4325,25 +4323,6 @@ android_toggle_on_screen_keyboard (android_window window, bool show) | |||
| 4325 | android_exception_check (); | 4323 | android_exception_check (); |
| 4326 | } | 4324 | } |
| 4327 | 4325 | ||
| 4328 | /* Tell the window system that all configure events sent to WINDOW | ||
| 4329 | have been fully processed, and that it is now okay to display its | ||
| 4330 | new contents. SERIAL is the serial of the last configure event | ||
| 4331 | processed. */ | ||
| 4332 | |||
| 4333 | void | ||
| 4334 | android_window_updated (android_window window, unsigned long serial) | ||
| 4335 | { | ||
| 4336 | jobject object; | ||
| 4337 | jmethodID method; | ||
| 4338 | |||
| 4339 | object = android_resolve_handle (window, ANDROID_HANDLE_WINDOW); | ||
| 4340 | method = window_class.window_updated; | ||
| 4341 | |||
| 4342 | (*android_java_env)->CallVoidMethod (android_java_env, object, | ||
| 4343 | method, (jlong) serial); | ||
| 4344 | android_exception_check (); | ||
| 4345 | } | ||
| 4346 | |||
| 4347 | 4326 | ||
| 4348 | 4327 | ||
| 4349 | /* When calling the system's faccessat, make sure to clear the flag | 4328 | /* When calling the system's faccessat, make sure to clear the flag |