[Android] TV: Fix browser section display when no network
Geoffrey Métais
git at videolan.org
Wed Jan 20 11:24:45 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 20 11:13:42 2016 +0100| [342ebd2e52f159849885491adfb9c9a20d7a038b] | committer: Geoffrey Métais
TV: Fix browser section display when no network
> https://code.videolan.org/videolan/vlc-android/commit/342ebd2e52f159849885491adfb9c9a20d7a038b
---
vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java b/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
index 9eee1da..538a77b 100644
--- a/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
+++ b/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
@@ -70,7 +70,6 @@ import org.videolan.vlc.util.Permissions;
import org.videolan.vlc.util.VLCInstance;
import java.util.ArrayList;
-import java.util.LinkedList;
import java.util.List;
public class MainTvActivity extends BaseTvActivity implements IVideoBrowser, OnItemViewSelectedListener,
@@ -397,8 +396,8 @@ public class MainTvActivity extends BaseTvActivity implements IVideoBrowser, OnI
mBrowserAdapter.add(fav);
}
}
- mRowsAdapter.add(new ListRow(browserHeader, mBrowserAdapter));
}
+ mRowsAdapter.add(new ListRow(browserHeader, mBrowserAdapter));
mOtherAdapter = new ArrayObjectAdapter(new CardPresenter(mContext));
final HeaderItem miscHeader = new HeaderItem(HEADER_MISC, getString(R.string.other));
More information about the Android
mailing list