diff options
author | Allan Wang <me@allanwang.ca> | 2019-01-05 22:46:03 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-01-05 22:46:03 -0500 |
commit | 4c4996e0ead6c415e96dd19f1390140e59bb98a4 (patch) | |
tree | 26bed620ca88d34c534943b5b8ecfb38c6945b5e /core/src/main/kotlin | |
parent | 274e10fab9a7ee1a7f1934d1f07bd5cffdc84c1b (diff) | |
download | kau-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/kotlin')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt | 1 |
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) |