(Android) Fix for crash when there's no connected devices.