[Android] Fix EqualizerFragment empty after being paused
Geoffrey Métais
git at videolan.org
Mon Mar 14 14:31:20 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 14 14:30:43 2016 +0100| [5a96922ce243a3e754e86003f603974a5320bc3c] | committer: Geoffrey Métais
Fix EqualizerFragment empty after being paused
> https://code.videolan.org/videolan/vlc-android/commit/5a96922ce243a3e754e86003f603974a5320bc3c
---
vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java
index c7c43fb..65100ea 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java
@@ -66,7 +66,6 @@ public class EqualizerFragment extends PlaybackServiceFragment {
super.onCreateView(inflater, container, savedInstanceState);
View v = inflater.inflate(R.layout.equalizer, container, false);
saveViewChildren(v);
- fillViews();
return v;
}
@@ -155,6 +154,12 @@ public class EqualizerFragment extends PlaybackServiceFragment {
VLCOptions.setEqualizer(getActivity(), null, 0);
}
+ @Override
+ public void onResume() {
+ super.onResume();
+ fillViews();
+ }
+
private final OnItemSelectedListener mPresetListener = new OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
More information about the Android
mailing list