openstf / STFService.apk

Monitor and perform various actions on your Android device. Not meant for actual user devices.
Other
242 stars 207 forks source link

AdbMonitor should skip the check if we're running on an emulator #26

Open Malinskiy opened 6 years ago

Malinskiy commented 6 years ago

I've found that emulator doesn't actually have any data we can use in the output of dumpsys usb. I suggest we skip this case in the AdbMonitor.

The other way would be to control this from the permission granting side, but that would complicate deployment so I suggest we just support this in the STFService.apk