Skip to content

Commit 5525263

Browse files
committed
using PrivateConstants so that acra url can be overritten if BuildConfig.Debug
1 parent 6da9bd7 commit 5525263

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

fielddb/src/main/java/com/github/fielddb/FieldDBApplication.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
* If you want the app to automatically update sample data if the user has wifi,
3333
* you can provide a mUpdateSampleData; If you want the app to always work
3434
* offline (no online sample data) you can provide mOfflineSampleData;
35-
*
35+
*
3636
* - mUpdateSampleData to be an intent which knows how to download/update sample
3737
* data from a server - mOfflineSampleData to have 1 sample datum
38-
*
38+
*
3939
*/
4040
@ReportsCrashes(formKey = "", formUri = "", reportType = org.acra.sender.HttpSender.Type.JSON, httpMethod = org.acra.sender.HttpSender.Method.PUT, formUriBasicAuthLogin = "see_private_constants", formUriBasicAuthPassword = "see_private_constants")
4141
public class FieldDBApplication extends Application {
@@ -59,7 +59,7 @@ public void onCreate() {
5959

6060
protected boolean initBugReporter() {
6161
ACRAConfiguration config = ACRA.getNewDefaultConfig(this);
62-
config.setFormUri(Config.ACRA_SERVER_URL);
62+
config.setFormUri(PrivateConstants.ACRA_SERVER_URL);
6363
config.setFormUriBasicAuthLogin(Config.ACRA_USER);
6464
config.setFormUriBasicAuthPassword(Config.ACRA_PASS);
6565

@@ -185,7 +185,7 @@ protected boolean initUser() {
185185
* that version of the Experiment. It accepts a variable in the form en or
186186
* en-US containing just the language code, or the language code followed by a
187187
* - and the co
188-
*
188+
*
189189
* @param lang
190190
* @return
191191
*/

0 commit comments

Comments
 (0)