aboutsummaryrefslogtreecommitdiffstats
path: root/android/ui-core-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/ui-core-protocol.c')
-rw-r--r--android/ui-core-protocol.c7
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;
+}