mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 09:52:16 -05:00
Configure 'developer mode' via BuildConfig
This commit is contained in:
parent
2f832e5fa4
commit
147db8cc5e
@ -49,11 +49,15 @@ android {
|
||||
if (project.hasProperty('storeFile')) {
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
|
||||
buildConfigField "boolean", "DEVELOPER_MODE", "false"
|
||||
}
|
||||
|
||||
debug {
|
||||
applicationIdSuffix ".debug"
|
||||
testCoverageEnabled rootProject.testCoverage
|
||||
|
||||
buildConfigField "boolean", "DEVELOPER_MODE", "true"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,7 @@ public class K9 extends Application {
|
||||
* It should NEVER be on for Market builds
|
||||
* Right now, it just governs strictmode
|
||||
**/
|
||||
public static boolean DEVELOPER_MODE = true;
|
||||
public static boolean DEVELOPER_MODE = BuildConfig.DEVELOPER_MODE;
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user