[Android] ExtensionManager: Properly name callback params

Geoffrey Métais git at videolan.org
Thu Sep 14 17:31:09 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Sep 14 15:49:11 2017 +0200| [32cd8f94f9099e9cbdc7fc0c63573b6ca5f97cc6] | committer: Geoffrey Métais

ExtensionManager: Properly name callback params

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

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

diff --git a/vlc-android/src/org/videolan/vlc/extensions/ExtensionsManager.java b/vlc-android/src/org/videolan/vlc/extensions/ExtensionsManager.java
index d274d8f68..91646d52f 100644
--- a/vlc-android/src/org/videolan/vlc/extensions/ExtensionsManager.java
+++ b/vlc-android/src/org/videolan/vlc/extensions/ExtensionsManager.java
@@ -182,7 +182,7 @@ public class ExtensionsManager {
                         })
                 .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
                     @Override
-                    public void onClick(DialogInterface dialogInterface, int _) {
+                    public void onClick(DialogInterface dialogInterface, int which) {
                         PreferenceManager.getDefaultSharedPreferences(activity.getApplication()).edit().putBoolean(key, true).apply();
                         for (int i=0; i<extraTitles.size(); i++)
                             PreferenceManager.getDefaultSharedPreferences(activity.getApplication()).edit().putBoolean(extraKeys.get(i), extraCheckedStates[i]).apply();



More information about the Android mailing list