My app used to work fine up until Nougat turned on all the SELinux restrictions. All access to /sys is now blocked.
This is ok, i have rearchitected my app to avoid using /sys when quering usb information. However there is no way to query for the device speed anymore. My app https://play.google.com/store/apps/details?id=com.virtualhere.androidserver used to open /sys/bus/usb/devices/xxx-xx/speed and got a string in response. Could you add an api like USBDeviceConnection.GetSpeed() and it returns the value in this file e.g 1.5 12 480 5000 etc. This value is useful because some USB requests need to be simulated (e.g isochronous device data) like portStatus bits and these require knowing the device speed -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/7d95b7bb-4630-4a37-9e6e-9cddb4986ceb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.