aboutsummaryrefslogtreecommitdiffstats
path: root/android/protocol/ui-commands-qemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/protocol/ui-commands-qemu.c')
-rw-r--r--android/protocol/ui-commands-qemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/protocol/ui-commands-qemu.c b/android/protocol/ui-commands-qemu.c
index 3dbed31..2bb22c9 100644
--- a/android/protocol/ui-commands-qemu.c
+++ b/android/protocol/ui-commands-qemu.c
@@ -35,6 +35,6 @@ uicmd_set_brightness_change_callback(AndroidHwLightBrightnessCallback callback,
{
AndroidHwControlFuncs funcs;
funcs.light_brightness = callback;
- android_hw_control_init(opaque, &funcs);
+ android_hw_control_set(opaque, &funcs);
return 0;
}