[Android] Preferences: restart AudioService when config change

Thomas Guillem git at videolan.org
Wed May 27 12:37:57 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed May 27 12:13:53 2015 +0200| [a070ad4b4e34da7fdd2dd73a05e3e2b889857eee] | committer: Jean-Baptiste Kempf

Preferences: restart AudioService when config change

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a070ad4b4e34da7fdd2dd73a05e3e2b889857eee
---

 vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index b767ddc..fdfaadd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -349,6 +349,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP
                 || key.equalsIgnoreCase("dev_hardware_decoder")) {
             VLCInstance.updateLibVlcSettings(sharedPreferences);
             VLCInstance.restart(this);
+            restartService(this);
         }
     }
 



More information about the Android mailing list