diff options
author | Allan Wang <me@allanwang.ca> | 2021-09-25 18:07:50 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-09-25 18:07:50 -0700 |
commit | c823bbee1d516245d80832f6eb69cd024ec5b6e8 (patch) | |
tree | 51efae8f076915a2d4fdd61bed1109e5cf5bc69f /core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt | |
parent | 4c69ef8938462bac62f29eb5565b15b4473ef62d (diff) | |
download | kau-c823bbee1d516245d80832f6eb69cd024ec5b6e8.tar.gz kau-c823bbee1d516245d80832f6eb69cd024ec5b6e8.tar.bz2 kau-c823bbee1d516245d80832f6eb69cd024ec5b6e8.zip |
Remove activity resolution
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt')
-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 5ae8376..7f099ff 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt @@ -127,6 +127,7 @@ class EmailBuilder(val email: String, val subject: String) { * Create the intent and send the request when possible * If a stream uri is added, it will automatically be flagged to pass on read permissions */ + @Deprecated(level = DeprecationLevel.WARNING, message = "Resolution fails after Android 11") fun execute(context: Context) { val intent = getIntent(context) intent.extras() |