summaryrefslogtreecommitdiffstats
path: root/android/source/src/java/org/libreoffice/AboutDialogFragment.java
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-11-15 13:16:26 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-11-15 18:26:33 +0100
commit1d7b1e2d4099aac15e695696e6a0640d6e01e23f (patch)
tree6f7b404538114d48082ed998b7eb796fcc688c9c /android/source/src/java/org/libreoffice/AboutDialogFragment.java
parentAdd back test for struct initialization (diff)
downloadcore-1d7b1e2d4099aac15e695696e6a0640d6e01e23f.tar.gz
core-1d7b1e2d4099aac15e695696e6a0640d6e01e23f.zip
android: Drop "More Info" item in "About" dialog
Drop the "More Info" button from the dialog, which opened a sample document with more information about LibreOffice. There's already a link to the website, and the "neutral" button in that dialog will be reintroduced to show the privacy policy instead, if set. (An `AlertDialog` has at most 3 buttons.) Change-Id: Ib760daba1ed6f8cfc26eefc7412553bf97c77d70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159444 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android/source/src/java/org/libreoffice/AboutDialogFragment.java')
-rw-r--r--android/source/src/java/org/libreoffice/AboutDialogFragment.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/android/source/src/java/org/libreoffice/AboutDialogFragment.java b/android/source/src/java/org/libreoffice/AboutDialogFragment.java
index 9695d1e9d650..17c43787e619 100644
--- a/android/source/src/java/org/libreoffice/AboutDialogFragment.java
+++ b/android/source/src/java/org/libreoffice/AboutDialogFragment.java
@@ -86,13 +86,6 @@ public class AboutDialogFragment extends DialogFragment {
loadFromAbout(R.raw.notice);
dialog.dismiss();
}
- })
- .setNeutralButton(R.string.about_moreinfo, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface dialog, int id) {
- loadFromAbout(R.raw.example);
- dialog.dismiss();
- }
});
return builder.create();