Don't show the fastscroll alphabet popup when viewing an album
(this could happen if you made your own custom "album" with a
very large number of songs), since it doesn't make sense for
something that is not alphabetically sorted.
Change-Id: Ie7684466527b818c7f0f6558e87c928a566349c2
diff --git a/src/com/android/music/TrackBrowserActivity.java b/src/com/android/music/TrackBrowserActivity.java
index c1572f1..20e3060 100644
--- a/src/com/android/music/TrackBrowserActivity.java
+++ b/src/com/android/music/TrackBrowserActivity.java
@@ -1424,7 +1424,7 @@
if (mIndexer != null) {
mIndexer.setCursor(cursor);
- } else if (!mActivity.mEditMode) {
+ } else if (!mActivity.mEditMode && mActivity.mAlbumId == null) {
String alpha = mActivity.getString(R.string.fast_scroll_alphabet);
mIndexer = new MusicAlphabetIndexer(cursor, mTitleIdx, alpha);