[Android] Use 'yes' string instead of OS 'ok' string

Geoffrey Métais git at videolan.org
Tue Jun 27 11:55:25 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jun 27 11:55:00 2017 +0200| [ea35fb5959448e58bdcd686891fc28833aa7beed] | committer: Geoffrey Métais

Use 'yes' string instead of OS 'ok' string

> https://code.videolan.org/videolan/vlc-android/commit/ea35fb5959448e58bdcd686891fc28833aa7beed
---

 vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java
index 549a1bfc5..80f46656f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java
@@ -34,7 +34,7 @@ public class ExternalStorageDialog extends AppCompatDialogFragment {
         final String message = String.format(VLCApplication.getAppResources().getString(R.string.ml_external_storage_msg), uuid);
         builder.setTitle(R.string.ml_external_storage_title)
                 .setMessage(message)
-                .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
+                .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
                     public void onClick(DialogInterface dialog, int id) {
                         Intent serviceInent = new Intent(MediaParsingService.ACTION_DISCOVER_DEVICE, null, getActivity(), MediaParsingService.class)
                             .putExtra(MediaParsingService.EXTRA_PATH, path);



More information about the Android mailing list