Debug info: set informational text for shared logs

This commit is contained in:
Ricki Hirner 2019-05-09 21:21:21 +02:00
parent 459f9da486
commit c734e1a1f2
2 changed files with 2 additions and 0 deletions

View file

@ -88,6 +88,7 @@ class DebugInfoActivity: AppCompatActivity() {
model.report.value?.let { report ->
val builder = ShareCompat.IntentBuilder.from(this)
.setSubject("${getString(R.string.app_name)} ${BuildConfig.VERSION_NAME} debug info")
.setText(getString(R.string.debug_info_logs_attached))
.setType("text/plain")
try {

View file

@ -282,6 +282,7 @@
<!-- sync adapters and DebugInfoActivity -->
<string name="authority_debug_provider" translatable="false">at.bitfire.davdroid.debug</string>
<string name="debug_info_title">Debug info</string>
<string name="debug_info_logs_attached">Logs are attached to this message (requires attachment support of the receiving app).</string>
<string name="sync_contacts_read_only_address_book">Read-only address book</string>
<string name="sync_error_permissions">DAVx⁵ permissions</string>
<string name="sync_error_permissions_text">Additional permissions required</string>