From c8671139e80de4d0a2e1286c74c3280c80e61f6b Mon Sep 17 00:00:00 2001 From: radius Date: Fri, 7 Aug 2015 02:17:25 -0500 Subject: [PATCH] fix --- input/drivers/android_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/drivers/android_input.c b/input/drivers/android_input.c index a41aa07c98..7b0e5ca9ca 100644 --- a/input/drivers/android_input.c +++ b/input/drivers/android_input.c @@ -656,9 +656,9 @@ static void handle_hotplug(android_input_t *android, { /* hack for remote control type devices, set them always to port 0 */ *port = 0; - if (strstr(device_name, "Virtual") || (strstr(device_name, "gpio")) + if (strstr(device_name, "Virtual") || (strstr(device_name, "gpio"))) strlcpy(name_buf, "Generic I/O Device", sizeof(name_buf)); - else + else strlcpy(name_buf, device_name, sizeof(name_buf)); } else if ( *port==1 && ( strstr(android->pad_states[0].name,"Amazon Fire TV Remote")