mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Initial cut of Modifications syncing
Provides one naive modifier (which blindly adds categories). Provides a sync service & a content provider. Insert appropriate items into the content provider and wait for the sync to happen. Sync currently likes to 'fail early' rather than recover. Blank post upload activity also present, simply adds random category to the page that was uploaded. Will need appropriate UI
This commit is contained in:
parent
03277af6cc
commit
780af9d07d
17 changed files with 650 additions and 8 deletions
9
commons/res/xml/modifications_sync_adapter.xml
Normal file
9
commons/res/xml/modifications_sync_adapter.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:contentAuthority="org.wikimedia.commons.modifications.contentprovider"
|
||||
android:accountType="org.wikimedia.commons"
|
||||
android:supportsUploading="true"
|
||||
android:userVisible="true"
|
||||
android:isAlwaysSyncable="true"
|
||||
/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue