Need to pass story order and read filter to sync service when refresh triggered in AllSharedStoriesReading activity

This commit is contained in:
Mark Anderson 2013-07-10 22:52:39 +01:00
parent e05c396c4b
commit 1b7e1ae8ed

View file

@ -87,6 +87,8 @@ public class AllSharedStoriesReading extends Reading {
if (page > 1) {
intent.putExtra(SyncService.EXTRA_TASK_PAGE_NUMBER, Integer.toString(page));
}
intent.putExtra(SyncService.EXTRA_TASK_ORDER, PrefsUtils.getStoryOrderForFolder(this, PrefConstants.ALL_SHARED_STORIES_FOLDER_NAME));
intent.putExtra(SyncService.EXTRA_TASK_READ_FILTER, PrefsUtils.getReadFilterForFolder(this, PrefConstants.ALL_SHARED_STORIES_FOLDER_NAME));
startService(intent);
}