mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-04 15:52:34 -08:00
Capture exception to avoid crash after clear clipboard
This commit is contained in:
1 parent
56daf6f676
commit
d0371f58c6
1 file changed
+1
-1
+1
-1
@@ -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