aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-05 22:46:03 -0500
committerAllan Wang <me@allanwang.ca>2019-01-05 22:46:03 -0500
commit4c4996e0ead6c415e96dd19f1390140e59bb98a4 (patch)
tree26bed620ca88d34c534943b5b8ecfb38c6945b5e /core/src/main
parent274e10fab9a7ee1a7f1934d1f07bd5cffdc84c1b (diff)
downloadkau-4c4996e0ead6c415e96dd19f1390140e59bb98a4.tar.gz
kau-4c4996e0ead6c415e96dd19f1390140e59bb98a4.tar.bz2
kau-4c4996e0ead6c415e96dd19f1390140e59bb98a4.zip
Fix tests and prepare next release4.0.0-alpha02
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt b/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt
index e6ad97a..1f959ab 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt
@@ -90,6 +90,7 @@ class EmailBuilder(val email: String, val subject: String) {
val versionCode = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
appInfo.longVersionCode.toString()
} else {
+ @Suppress("DEPRECATION")
appInfo.versionCode.toString()
}
emailBuilder.append("\nApp: ").append(context.packageName)