android/source/res/menu/view_menu.xml | 2 ++ android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java | 5 +++++ 2 files changed, 7 insertions(+)
New commits: commit ba44368da5933040080da611aa1722491f89df69 Author: Jacobo Aragunde Pérez <jaragu...@igalia.com> Date: Mon Feb 9 14:10:29 2015 +0100 Android: add menu entry for document provider settings Change-Id: Ic48275fe2e7d83fd5e77171f4f5740a527dec7e2 Reviewed-on: https://gerrit.libreoffice.org/16195 Reviewed-by: Jacobo Aragunde Pérez <jaragu...@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragu...@igalia.com> diff --git a/android/source/res/menu/view_menu.xml b/android/source/res/menu/view_menu.xml index 32825b5..b89ff30 100644 --- a/android/source/res/menu/view_menu.xml +++ b/android/source/res/menu/view_menu.xml @@ -10,6 +10,8 @@ android:title="@string/menu_sort_az"/> <item android:id="@+id/menu_sort_modified" android:title="@string/menu_sort_modified"/> + <item android:id="@+id/menu_storage_preferences" + android:title="@string/storage_provider_settings"/> <item android:id="@+id/action_about" android:title="@string/action_about" android:orderInCategory="100"/> diff --git a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java index 76842ec..a8f4276 100644 --- a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -53,6 +53,7 @@ import org.libreoffice.LibreOfficeMainActivity; import org.libreoffice.R; import org.libreoffice.SettingsActivity; import org.libreoffice.storage.DocumentProviderFactory; +import org.libreoffice.storage.DocumentProviderSettingsActivity; import org.libreoffice.storage.IDocumentProvider; import org.libreoffice.storage.IFile; @@ -461,6 +462,10 @@ public class LibreOfficeUIActivity extends ActionBarActivity implements ActionBa case R.id.action_settings: startActivity(new Intent(getApplicationContext(), SettingsActivity.class)); return true; + case R.id.menu_storage_preferences: + startActivity(new Intent(this, DocumentProviderSettingsActivity.class));; + break; + default: return super.onOptionsItemSelected(item); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits