device: Don't try to access raw input devices an Android

Fixes a log warning
This commit is contained in:
rdb 2021-12-12 14:27:56 +01:00
parent 73a27fa281
commit f79ef139ba

View File

@ -40,7 +40,7 @@ make_global_ptr() {
_global_ptr = new WinInputDeviceManager;
#elif defined(__APPLE__)
_global_ptr = new IOKitInputDeviceManager;
#elif defined(PHAVE_LINUX_INPUT_H)
#elif defined(PHAVE_LINUX_INPUT_H) && !defined(ANDROID)
_global_ptr = new LinuxInputDeviceManager;
#else
_global_ptr = new InputDeviceManager;