fix uploading starred article status while going online also marking them as published

This commit is contained in:
Andrew Dolgov 2015-02-28 14:21:48 +03:00
parent de9854c6ea
commit 1bf843a451
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="318" android:versionCode="319"
android:versionName="1.93" > android:versionName="1.94" >
<uses-sdk <uses-sdk
android:minSdkVersion="15" android:minSdkVersion="15"

View File

@ -242,7 +242,7 @@ public class OfflineUploadService extends IntentService {
private void uploadPublished() { private void uploadPublished() {
Log.d(TAG, "syncing modified offline data... (published)"); Log.d(TAG, "syncing modified offline data... (published)");
final String ids = getModifiedIds(ModifiedCriteria.MARKED); final String ids = getModifiedIds(ModifiedCriteria.PUBLISHED);
if (ids.length() > 0) { if (ids.length() > 0) {
ApiRequest req = new ApiRequest(getApplicationContext()) { ApiRequest req = new ApiRequest(getApplicationContext()) {