private void DeviceSelection(object userData, string[] options, int selected)
        {
            if (selected == m_DeviceIds.Count)
            {
                AndroidLogcatIPWindow.Show(this.m_Runtime, this.GetCachedAdb(), this.m_DeviceIds, this.m_DeviceDetails, m_IpWindowScreenRect);
                return;
            }

            SetSelectedDeviceByIndex(selected);
        }
        private void DeviceSelection(object userData, string[] options, int selected)
        {
            var devices = m_Runtime.DeviceQuery.Devices;

            if (selected >= m_Runtime.DeviceQuery.Devices.Count)
            {
                AndroidLogcatIPWindow.Show(this.m_Runtime, m_IpWindowScreenRect);
                return;
            }

            SelectedPackage = null;
            m_Runtime.DeviceQuery.SelectDevice(devices.Values.ToArray()[selected]);
        }