mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
apply release mode patches
Change-Id: Ia5cae5dac39b42b849139c9fbe5bd58f6c9f7a9d
This commit is contained in:
parent
b3771e16e9
commit
efb4b5b18f
2 changed files with 5 additions and 30 deletions
|
|
@ -82,14 +82,6 @@
|
||||||
android:label="@string/title_activity_settings"
|
android:label="@string/title_activity_settings"
|
||||||
/>
|
/>
|
||||||
<activity android:name=".AboutActivity" android:label="@string/title_activity_about"/>
|
<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 android:name=".upload.UploadService" >
|
||||||
</service>
|
</service>
|
||||||
|
|
@ -105,17 +97,6 @@
|
||||||
android:name="android.accounts.AccountAuthenticator"
|
android:name="android.accounts.AccountAuthenticator"
|
||||||
android:resource="@xml/authenticator" />
|
android:resource="@xml/authenticator" />
|
||||||
</service>
|
</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
|
<service
|
||||||
android:name=".contributions.ContributionsSyncService"
|
android:name=".contributions.ContributionsSyncService"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
|
|
@ -147,13 +128,6 @@
|
||||||
android:authorities="org.wikimedia.commons.contributions.contentprovider"
|
android:authorities="org.wikimedia.commons.contributions.contentprovider"
|
||||||
android:exported="false">
|
android:exported="false">
|
||||||
</provider>
|
</provider>
|
||||||
<provider
|
|
||||||
android:name=".campaigns.CampaignsContentProvider"
|
|
||||||
android:label="@string/provider_campaigns"
|
|
||||||
android:syncable="true"
|
|
||||||
android:authorities="org.wikimedia.commons.campaigns.contentprovider"
|
|
||||||
android:exported="false">
|
|
||||||
</provider>
|
|
||||||
<provider
|
<provider
|
||||||
android:name=".modifications.ModificationsContentProvider"
|
android:name=".modifications.ModificationsContentProvider"
|
||||||
android:label="@string/provider_modifications"
|
android:label="@string/provider_modifications"
|
||||||
|
|
|
||||||
|
|
@ -55,11 +55,12 @@ public class CommonsApplication extends Application {
|
||||||
|
|
||||||
private MWApi api;
|
private MWApi api;
|
||||||
private Account currentAccount = null; // Unlike a savings account...
|
private Account currentAccount = null; // Unlike a savings account...
|
||||||
public static final String API_URL = "https://test.wikipedia.org/w/api.php";
|
public static final String API_URL = "https://commons.wikimedia.org/w/api.php";
|
||||||
public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/test";
|
public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/commons";
|
||||||
public static final String HOME_URL = "https://test.wikipedia.org/wiki/";
|
public static final String HOME_URL = "https://commons.wikimedia.org/wiki/";
|
||||||
|
|
||||||
public static final String EVENTLOG_URL = "https://bits.wikimedia.org/event.gif";
|
public static final String EVENTLOG_URL = "https://bits.wikimedia.org/event.gif";
|
||||||
public static final String EVENTLOG_WIKI = "testwiki";
|
public static final String EVENTLOG_WIKI = "commonswiki";
|
||||||
|
|
||||||
public static final Object[] EVENT_UPLOAD_ATTEMPT = {"MobileAppUploadAttempts", 5334329L};
|
public static final Object[] EVENT_UPLOAD_ATTEMPT = {"MobileAppUploadAttempts", 5334329L};
|
||||||
public static final Object[] EVENT_LOGIN_ATTEMPT = {"MobileAppLoginAttempts", 5257721L};
|
public static final Object[] EVENT_LOGIN_ATTEMPT = {"MobileAppLoginAttempts", 5257721L};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue