mirror of
https://github.com/waydroid/waydroid.git
synced 2026-05-19 14:16:08 -04:00
clipboard: Return empty string if error
Instead of returning None, which becomes NULL in cython and gets sent through binder to become null in java
This commit is contained in:
@@ -25,6 +25,7 @@ def start(args):
|
||||
return pyclip.paste()
|
||||
except Exception as e:
|
||||
logging.debug(str(e))
|
||||
return ""
|
||||
|
||||
def service_thread():
|
||||
while not stopping:
|
||||
|
||||
Reference in New Issue
Block a user