aboutsummaryrefslogtreecommitdiffstats
path: root/android/skin
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-07-27 14:14:15 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-07-27 15:52:44 -0700
commitba1f57f4a17ea97343b58903ba7100fee58ba28e (patch)
tree3922cffd2e4092a9eb1df73a82852ce353921b5f /android/skin
parent055ae42d36d9d78a7920f66ee2df485d81d24264 (diff)
downloadexternal_qemu-ba1f57f4a17ea97343b58903ba7100fee58ba28e.zip
external_qemu-ba1f57f4a17ea97343b58903ba7100fee58ba28e.tar.gz
external_qemu-ba1f57f4a17ea97343b58903ba7100fee58ba28e.tar.bz2
Added qemu-android build target which will build bare (UI-stripped) emulator
Also has some minor separation changes Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
Diffstat (limited to 'android/skin')
-rw-r--r--android/skin/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/skin/window.c b/android/skin/window.c
index 48e5916..9aa7ec9 100644
--- a/android/skin/window.c
+++ b/android/skin/window.c
@@ -15,7 +15,7 @@
#include "android/charmap.h"
#include "android/utils/debug.h"
#include "android/utils/system.h"
-#include "android/hw-sensors.h"
+#include "android/ui-core-protocol.h"
#include <SDL_syswm.h>
#include "user-events.h"
#include <math.h>
@@ -1236,9 +1236,9 @@ skin_window_reset ( SkinWindow* window, SkinLayout* slayout )
user_event_generic( slayout->event_type, slayout->event_code, slayout->event_value );
/* XXX: hack, replace by better code here */
if (slayout->event_value != 0)
- android_sensors_set_coarse_orientation( ANDROID_COARSE_PORTRAIT );
+ android_core_sensors_set_coarse_orientation( ANDROID_COARSE_PORTRAIT );
else
- android_sensors_set_coarse_orientation( ANDROID_COARSE_LANDSCAPE );
+ android_core_sensors_set_coarse_orientation( ANDROID_COARSE_LANDSCAPE );
}
return 0;
}