diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-19 18:46:34 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-19 18:50:36 +0300 |
commit | 07c1b61933c24f9dec0793cf881a2d18baf924ab (patch) | |
tree | 618e230b07a34facf48cec718ca0155d48de42bc /desktop | |
parent | a88ac708403c03d0f950f09ec29c0d5a1e5a85b4 (diff) |
Small refactoring of the Android "desktop app" code, no functional change
Move the native methods out to a separate AppSupport class so that they aren't
in our "experimenal" Desktop app's namespace. Don't hardcode the name of that
class in the native code, but have the app register the class to which the
damage callbacks should be done.
Possibly the AppSupport and Bootstrap classes should be combined. Later.
Also, the "android" part of the package name is superfluous; it is
Android-specific code, no information gained by having an "android" part in
the package name.
Change-Id: Iddf55c8034ead7693887ace8438deb002c5eea9f
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 6f92ba221175..44de16e3816e 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -93,8 +93,8 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() #ifdef ANDROID extern "C" SAL_JNI_EXPORT void JNICALL -Java_org_libreoffice_experimental_desktop_Desktop_runMain(JNIEnv* /* env */, - jobject /* clazz */) +Java_org_libreoffice_android_AppSupport_runMain(JNIEnv* /* env */, + jobject /* clazz */) #else extern "C" void |