enable clipboard service for android

- register the VCLGenericClipboard as the SystemClipboard
- enable vcl.android component in Rdb services as this wasn't done
- choose VclGenericClipboard as the android implementation

Change-Id: I067dcf4d9cdfc4b7d7a941a1c86f545263d1abad
This commit is contained in:
Tomaž Vajngerl 2017-04-25 11:40:54 +02:00
parent e6e5a68f52
commit 6891ab0dae
4 changed files with 11 additions and 1 deletions

View file

@ -149,6 +149,9 @@ $(eval $(call gb_Rdb_add_components,services,\
$(if $(ENABLE_HEADLESS), \
vcl/vcl.headless \
) \
$(if $(filter ANDROID,$(OS)), \
vcl/vcl.android \
) \
$(if $(filter-out WNT,$(OS)), \
embeddedobj/source/msole/emboleobj \
) \

View file

@ -59,6 +59,8 @@ core_factory_list = [
("libxmlfalo.a", "xmlfa_component_getFactory"),
("libodfflatxmllo.a", "odfflatxml_component_getFactory"),
("libxmlscriptlo.a", "xmlscript_component_getFactory"),
("libmcnttype.a", "mcnttype_component_getFactory"),
("libvcllo.a", "vcl_component_getFactory")
]
core_constructor_list = [
@ -323,7 +325,7 @@ writer_factory_list = [
writer_constructor_list = [
# basic/util/sb.component
("com_sun_star_comp_sfx2_ScriptLibraryContainer_get_implementation", "#if HAVE_FEATURE_SCRIPTING"),
# filter/source/textfilterdetect/textfd.component
# filter/source/textfilterdetect/textfd.component
"com_sun_star_comp_filters_PlainTextFilterDetect_get_implementation",
# sw/util/sw.component
"com_sun_star_comp_Writer_XMLOasisContentImporter_get_implementation",

View file

@ -221,6 +221,8 @@ OUString SAL_CALL Clipboard_getImplementationName()
return OUString(
#if defined MACOSX
"com.sun.star.datatransfer.clipboard.AquaClipboard"
#elif defined ANDROID
"com.sun.star.datatransfer.VCLGenericClipboard"
#elif defined UNX
"com.sun.star.datatransfer.X11ClipboardSupport"
#else

View file

@ -19,6 +19,9 @@
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
prefix="vcl" xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.datatransfer.VCLGenericClipboard">
<service name="com.sun.star.datatransfer.clipboard.SystemClipboard"/>
</implementation>
<implementation name="com.sun.star.frame.VCLSessionManagerClient">
<service name="com.sun.star.frame.SessionManagerClient"/>
</implementation>