diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-07-16 11:19:48 -0700 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-07-16 11:25:16 -0700 |
commit | 2fa5173bd1ce7341c50adac676a317945f0969c7 (patch) | |
tree | 560d67a9e25138e8139888c3ed81fb77771ce5ea /android/ui-core-protocol.c | |
parent | eb8382507c6b802f378cf940fae4775633c1d84e (diff) | |
download | external_qemu-2fa5173bd1ce7341c50adac676a317945f0969c7.zip external_qemu-2fa5173bd1ce7341c50adac676a317945f0969c7.tar.gz external_qemu-2fa5173bd1ce7341c50adac676a317945f0969c7.tar.bz2 |
Moved dependency on android_ui_set_window_scale to ui-core-protocol.h
Also cleaned up dependency on android_base_port variable
Change-Id: I8c1675a859e3d24e9bb174471dd03556c696aff1
Diffstat (limited to 'android/ui-core-protocol.c')
-rw-r--r-- | android/ui-core-protocol.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android/ui-core-protocol.c b/android/ui-core-protocol.c index e61cd86..c62f09e 100644 --- a/android/ui-core-protocol.c +++ b/android/ui-core-protocol.c @@ -19,6 +19,7 @@ * means of interprocess communication. */ +#include "android/android.h" #include "android/globals.h" #include "android/hw-control.h" #include "android/ui-core-protocol.h" @@ -38,3 +39,9 @@ android_core_set_brightness_change_callback(AndroidHwLightBrightnessCallback cal funcs.light_brightness = callback; android_hw_control_init( opaque, &funcs ); } + +int +android_core_get_base_port(void) +{ + return android_base_port; +} |