aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-08-28 22:13:10 -0700
committerScott Jackson <daneren2005@gmail.com>2013-08-28 22:13:10 -0700
commit9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba (patch)
treee9fc363fb9fb97f95e1444420611e4411becf5db /AndroidManifest.xml
parent054f83744088381f99765bf2957ddbed19d8e61f (diff)
downloaddsub-9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba.tar.gz
dsub-9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba.tar.bz2
dsub-9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba.zip
Start of custom SyncAdapters
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml28
1 files changed, 27 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5a17c19c..14294eda 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -15,7 +15,11 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.READ_LOGS"/>
-
+ <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
+ <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
+ <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
+
+
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
@@ -79,6 +83,24 @@
<service android:name="github.daneren2005.dsub.service.DownloadServiceImpl"
android:label="Subsonic Download Service"/>
+ <service android:name="github.daneren2005.dsub.service.sync.AuthenticatorService">
+ <intent-filter>
+ <action android:name="android.accounts.AccountAuthenticator"/>
+ </intent-filter>
+
+ <meta-data android:name="android.accounts.AccountAuthenticator"
+ android:resource="@xml/authenticator" />
+ </service>
+ <service android:name="github.daneren2005.dsub.service.sync.SyncService"
+ android:exported="true"
+ android:process=":sync">
+
+ <intent-filter>com.example.android.datasync.provider
+ <action android:name="android.content.SyncAdapter"/>
+ </intent-filter>
+ <meta-data android:name="android.content.SyncAdapter"
+ android:resource="@xml/syncadapter" />
+ </service>
<receiver android:name="github.daneren2005.dsub.receiver.MediaButtonIntentReceiver">
<intent-filter android:priority="999">
@@ -136,6 +158,10 @@
<provider android:name="github.daneren2005.dsub.provider.DSubSearchProvider"
android:authorities="github.daneren2005.dsub.provider.DSubSearchProvider"/>
+ <provider android:name="github.daneren2005.dsub.service.sync.StubProvider"
+ android:authorities="github.daneren2005.dsub.provider"
+ android:exported="false"
+ android:syncable="true"/>
<meta-data android:name="android.app.default_searchable"
android:value="github.daneren2005.dsub.activity.QueryReceiverActivity"/>