From 6df71197252e119baccbe4dd060935222af4f8ba Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 15 May 2012 07:59:51 -0700 Subject: Refresh stale SdkController screen. When MT handler gets deactivated, and then activated again, it shows a stale emulator display, since it didn't have a chance to catch up with emulator display updates. This CL ensures that entire emulator display is pushed to the device when MT handler gets activated. Change-Id: I58c1680f50e2af3e6afa0518f6bcaa3ed087638d --- android/multitouch-port.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'android/multitouch-port.c') diff --git a/android/multitouch-port.c b/android/multitouch-port.c index d872b30..faefdbf 100644 --- a/android/multitouch-port.c +++ b/android/multitouch-port.c @@ -260,6 +260,8 @@ _on_multitouch_port_connection(void* opaque, if (android_hw->hw_gpu_enabled) { android_setPostCallback(multitouch_opengles_fb_update, NULL); } + /* Refresh (possibly stale) device screen. */ + multitouch_refresh_screen(); break; case SDKCTL_PORT_DISABLED: -- cgit v1.1