From c9959102e13c8085c33058fd0cfdb60600f541fe Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 22 Feb 2013 08:20:56 -0800 Subject: Revert previous jump to the top fix --- .../src/github/daneren2005/dsub/activity/DownloadActivity.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java index f7ee55d3..3028a260 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java @@ -817,16 +817,9 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi else emptyTextView.setText(R.string.download_empty); - // Save old position - Parcelable state = playlistView.onSaveInstanceState(); - // Set new items playlistView.setAdapter(new SongListAdapter(list)); - emptyTextView.setVisibility(list.isEmpty() ? View.VISIBLE : View.GONE); currentRevision = downloadService.getDownloadListUpdateRevision(); - - // Restore old position - playlistView.onRestoreInstanceState(state); switch (downloadService.getRepeatMode()) { case OFF: -- cgit v1.2.3