aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-06-28 10:47:18 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-06-29 08:58:03 -0700
commita21ac6912568a1d36a2919669f905bc58be21244 (patch)
treeea7c050ab63933e9d9eae2c989a164da81cb010a /android/qemulator.c
parent83f82216024e9b5623d9f2b3b90e9c2e954412e9 (diff)
downloadexternal_qemu-a21ac6912568a1d36a2919669f905bc58be21244.zip
external_qemu-a21ac6912568a1d36a2919669f905bc58be21244.tar.gz
external_qemu-a21ac6912568a1d36a2919669f905bc58be21244.tar.bz2
Add ui_core_protocol.* to simulate UI->Core exchange.
Change-Id: I969bb097fcd9be55d83368ddee0e377a0f0af896
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index 1671bdd..615f058 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -15,6 +15,7 @@
#include "android/utils/bufprint.h"
#include "android/globals.h"
#include "android/qemulator.h"
+#include "android/ui_core_protocol.h"
#define D(...) do { if (VERBOSE_CHECK(init)) dprint(__VA_ARGS__); } while (0)
static double get_default_scale( AndroidOptions* opts );
@@ -230,7 +231,7 @@ qemulator_set_title(QEmulator* emulator)
int
get_device_dpi( AndroidOptions* opts )
{
- int dpi_device = android_hw->hw_lcd_density;
+ int dpi_device = android_core_get_hw_lcd_density();
if (opts->dpi_device != NULL) {
char* end;