Skip to content

Commit d88fdc9

Browse files
committed
android.runnable: fix run_on_ui_thread to correctly pass args/kwargs
1 parent bc4a45c commit d88fdc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/android/src/android/runnable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ def run_on_ui_thread(f):
4343
function. The function will be delayed and call into the Activity thread.
4444
'''
4545
def f2(*args, **kwargs):
46-
Runnable(f)(args, kwargs)
46+
Runnable(f)(*args, **kwargs)
4747
return f2

0 commit comments

Comments
 (0)