From: Po Lu Date: Thu, 9 Mar 2023 01:36:36 +0000 (+0800) Subject: Fix crash upon restoring desktop X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=009d4cfc8846a97baefc64cbd965de397206a33b;p=emacs.git Fix crash upon restoring desktop * src/android.c (android_set_input_focus): Don't call method on window using service class. --- diff --git a/src/android.c b/src/android.c index e620a041348..e8f076771b9 100644 --- a/src/android.c +++ b/src/android.c @@ -4363,7 +4363,7 @@ android_set_input_focus (android_window handle, unsigned long time) (*android_java_env)->CallNonvirtualVoidMethod (android_java_env, window, - service_class.class, + window_class.class, make_input_focus, (jlong) time); android_exception_check ();