use only one default flavor

This commit is contained in:
B. Petersen
2019-01-23 13:46:45 +01:00
parent 04fd5cbf4d
commit 7e4c38a057
2 changed files with 4 additions and 7 deletions
+1 -7
View File
@@ -232,14 +232,8 @@ android {
}
productFlavors {
play {
fat {
dimension "none"
buildConfigField "boolean", "PLAY_STORE_DISABLED", "false"
}
website {
dimension "none"
buildConfigField "boolean", "PLAY_STORE_DISABLED", "true"
}
}
@@ -179,6 +179,9 @@ public class LogViewFragment extends Fragment {
builder.append(pm.getApplicationLabel(pm.getApplicationInfo(context.getPackageName(), 0)))
.append(" ")
.append(pm.getPackageInfo(context.getPackageName(), 0).versionName)
.append("-")
.append(BuildConfig.FLAVOR)
.append(BuildConfig.DEBUG? "-debug" : "")
.append("\n");
} catch (PackageManager.NameNotFoundException nnfe) {
builder.append("Unknown\n");