From 1f594ad311b8f72fb78f14d137dfb53f59b03f85 Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Mon, 2 Sep 2013 15:13:00 +0200 Subject: [PATCH] Upload changes instead of whole subscription list --- AndroidManifest.xml | 3 +- res/layout/gpodnetauth_device.xml | 26 ++--- .../GpodnetAuthenticationActivity.java | 23 ++++- .../antennapod/gpoddernet/GpodnetService.java | 55 ++++++++++- .../model/GpodnetUploadChangesResponse.java | 56 +++++++++++ .../preferences/GpodnetPreferences.java | 99 ++++++++++++++++++- .../service/GpodnetSyncService.java | 29 ++++-- .../danoeh/antennapod/storage/DBWriter.java | 26 ++++- .../antennapod/storage/PodDBAdapter.java | 9 ++ .../gpodnet/GPodnetServiceTest.java | 12 +++ 10 files changed, 308 insertions(+), 30 deletions(-) create mode 100644 src/de/danoeh/antennapod/gpoddernet/model/GpodnetUploadChangesResponse.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index fe16eb0e5..4e9752237 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -375,7 +375,8 @@ + android:label="@string/gpodnet_auth_label" + android:screenOrientation="portrait"> diff --git a/res/layout/gpodnetauth_device.xml b/res/layout/gpodnetauth_device.xml index 3f8d0716c..21f2ef295 100644 --- a/res/layout/gpodnetauth_device.xml +++ b/res/layout/gpodnetauth_device.xml @@ -25,20 +25,20 @@ android:textColor="?android:attr/textColorSecondary" android:layout_margin="16dp"/> - - + +