getDevices(undefined) was mistakenly disallowed