Merge pull request #263 from jayvdb/remove-campaigns-again

Remove campaigns again
This commit is contained in:
Josephine Lim 2016-09-08 01:43:29 +12:00 committed by GitHub
commit b1d2d16d69
5 changed files with 0 additions and 103 deletions

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:id="@+id/campaignsList"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</FrameLayout>

View file

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<GridView android:id="@+id/campaignsList"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:stretchMode="columnWidth"
android:columnWidth="240dp"
android:numColumns="auto_fit"
android:listSelector="@null"
android:fadingEdge="none"
android:fastScrollEnabled="false"
/>
</LinearLayout>

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/campaignItemName"
android:layout_height="wrap_content"
android:layout_width="match_parent"
/>
</LinearLayout>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
android:contentAuthority="fr.free.nrw.commons.campaigns.contentprovider"
android:accountType="fr.free.nrw.commons"
android:supportsUploading="false"
android:userVisible="true"
android:isAlwaysSyncable="true"
/>

View file

@ -1,51 +0,0 @@
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5ad1c77..50b16ff 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -82,14 +82,6 @@
android:label="@string/title_activity_settings"
/>
<activity android:name=".AboutActivity" android:label="@string/title_activity_about"/>
- <activity android:name=".campaigns.CampaignActivity" android:label="Campaigns"
- android:icon="@drawable/ic_launcher"
- >
- <intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
- </intent-filter>
- </activity>
<service android:name=".upload.UploadService" >
</service>
@@ -106,17 +98,6 @@
android:resource="@xml/authenticator" />
</service>
<service
- android:name=".campaigns.CampaignsSyncService"
- android:exported="true">
- <intent-filter>
- <action
- android:name="android.content.SyncAdapter" />
- </intent-filter>
- <meta-data
- android:name="android.content.SyncAdapter"
- android:resource="@xml/campaigns_sync_adapter" />
- </service>
- <service
android:name=".contributions.ContributionsSyncService"
android:exported="true">
<intent-filter>
@@ -148,13 +129,6 @@
android:exported="false">
</provider>
<provider
- android:name=".campaigns.CampaignsContentProvider"
- android:label="@string/provider_campaigns"
- android:syncable="true"
- android:authorities="fr.free.nrw.commons.campaigns.contentprovider"
- android:exported="false">
- </provider>
- <provider
android:name=".modifications.ModificationsContentProvider"
android:label="@string/provider_modifications"
android:syncable="true"