Commit 869ee549 authored by Sébastien Toque's avatar Sébastien Toque
Browse files

delay the update to avoid trying to updated while not yet bound to the service

parent 4518cdae
...@@ -72,7 +72,7 @@ public class AudioListActivity extends ListActivity { ...@@ -72,7 +72,7 @@ public class AudioListActivity extends ListActivity {
setListAdapter(mSongsAdapter); setListAdapter(mSongsAdapter);
getListView().setOnCreateContextMenuListener(contextMenuListener); getListView().setOnCreateContextMenuListener(contextMenuListener);
updateList(); mHandler.sendEmptyMessageDelayed(MediaLibrary.MEDIA_ITEMS_UPDATED, 250);
} }
@Override @Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment