mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Capture exception to avoid crash after clear clipboard
This commit is contained in:
@@ -208,7 +208,7 @@ class ClipboardEntryNotificationService : LockNotificationService() {
|
||||
private fun cleanClipboard() {
|
||||
try {
|
||||
clipboardHelper?.cleanClipboard()
|
||||
} catch (e: ClipboardException) {
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Clipboard can't be cleaned", e)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user