mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-04 11:34:30 +01:00
change email address for feedback
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
e10669ffcf
commit
bd3bbdd755
@ -26,14 +26,10 @@ import android.net.Uri
|
|||||||
import android.os.Build
|
import android.os.Build
|
||||||
import androidx.core.content.FileProvider
|
import androidx.core.content.FileProvider
|
||||||
import com.nextcloud.talk.BuildConfig
|
import com.nextcloud.talk.BuildConfig
|
||||||
|
|
||||||
import java.io.File
|
|
||||||
import java.io.FileNotFoundException
|
import java.io.FileNotFoundException
|
||||||
import java.io.FileOutputStream
|
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import java.text.DateFormat
|
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Date
|
import java.util.*
|
||||||
|
|
||||||
object LoggingUtils {
|
object LoggingUtils {
|
||||||
fun writeLogEntryToFile(context: Context, logEntry: String) {
|
fun writeLogEntryToFile(context: Context, logEntry: String) {
|
||||||
@ -58,7 +54,7 @@ object LoggingUtils {
|
|||||||
fun sendMailWithAttachment(context: Context) {
|
fun sendMailWithAttachment(context: Context) {
|
||||||
val logFile = context.getFileStreamPath("nc_log.txt")
|
val logFile = context.getFileStreamPath("nc_log.txt")
|
||||||
val emailIntent = Intent(Intent.ACTION_SEND)
|
val emailIntent = Intent(Intent.ACTION_SEND)
|
||||||
val mailto = "mario@nextcloud.com"
|
val mailto = "android@nextcloud.com"
|
||||||
emailIntent.putExtra(Intent.EXTRA_EMAIL, arrayOf(mailto))
|
emailIntent.putExtra(Intent.EXTRA_EMAIL, arrayOf(mailto))
|
||||||
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Talk logs")
|
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Talk logs")
|
||||||
emailIntent.type = "text/plain"
|
emailIntent.type = "text/plain"
|
||||||
|
Loading…
Reference in New Issue
Block a user