mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Clear auth credentials post restore and when a user disables backups.
This commit is contained in:
committed by
Cody Henthorne
parent
9fd9760264
commit
962375e422
@@ -83,10 +83,10 @@ object DebugLogsViewer {
|
||||
|
||||
@JvmStatic
|
||||
fun onCopy(webview: WebView, context: Context, appName: String) {
|
||||
webview.evaluateJavascript ("editor.getValue();") { value ->
|
||||
webview.evaluateJavascript("editor.getValue();") { value ->
|
||||
val clipboard = context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||
val clip = ClipData.newPlainText(appName, value)
|
||||
clipboard.setPrimaryClip(clip)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user