Preserve ConversationList scroll state in between onPause/onResume.

This commit is contained in:
Moxie Marlinspike 2013-01-09 20:39:05 -08:00
parent 5cb02445e8
commit a185750bb7

View File

@ -100,9 +100,11 @@ public class ConversationListFragment extends SherlockListFragment
} }
public void setMasterSecret(MasterSecret masterSecret) { public void setMasterSecret(MasterSecret masterSecret) {
if (this.masterSecret != masterSecret) {
this.masterSecret = masterSecret; this.masterSecret = masterSecret;
initializeListAdapter(); initializeListAdapter();
} }
}
@SuppressLint({ "NewApi", "NewApi" }) @SuppressLint({ "NewApi", "NewApi" })
private void initializeSearch(android.widget.SearchView searchView) { private void initializeSearch(android.widget.SearchView searchView) {