diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-08 22:53:24 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-08 22:53:24 -0800 |
commit | 55b0dda7c4c553d8be47c01a92414c5cb968182f (patch) | |
tree | acb30afc8f1d1ad8811613a88bf6ad0a6723b3c8 /res/xml | |
parent | 2a0308f67749dcb00bbe80f644ab804f7d205b4c (diff) | |
download | dsub-55b0dda7c4c553d8be47c01a92414c5cb968182f.tar.gz dsub-55b0dda7c4c553d8be47c01a92414c5cb968182f.tar.bz2 dsub-55b0dda7c4c553d8be47c01a92414c5cb968182f.zip |
#212, #204: Add stubs for new sync options
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/mostrecent_syncadapter.xml | 8 | ||||
-rw-r--r-- | res/xml/settings.xml | 12 | ||||
-rw-r--r-- | res/xml/starred_syncadapter.xml | 8 |
3 files changed, 28 insertions, 0 deletions
diff --git a/res/xml/mostrecent_syncadapter.xml b/res/xml/mostrecent_syncadapter.xml new file mode 100644 index 00000000..9e76182a --- /dev/null +++ b/res/xml/mostrecent_syncadapter.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.mostrecent.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/>
\ No newline at end of file diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 6756a5d8..4355d890 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -192,6 +192,18 @@ android:summary="@string/settings.sync_wifi_summary" android:key="syncWifi" android:defaultValue="true"/> + + <CheckBoxPreference + android:title="@string/settings.sync_starred" + android:summary="@string/settings.sync_starred_summary" + android:key="syncStarred" + android:defaultValue="false"/> + + <CheckBoxPreference + android:title="@string/settings.sync_most_recent" + android:summary="@string/settings.sync_most_recent_summary" + android:key="syncMostRecent" + android:defaultValue="false"/> </PreferenceCategory> <PreferenceCategory diff --git a/res/xml/starred_syncadapter.xml b/res/xml/starred_syncadapter.xml new file mode 100644 index 00000000..4d065e93 --- /dev/null +++ b/res/xml/starred_syncadapter.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.starred.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/>
\ No newline at end of file |