Skip to content

Reland the changes related to the new intent-filter for the USB_DEVICE_ATTACHED#1778

Draft
javifernandez wants to merge 2 commits intomainfrom
reland-vision-usbhost
Draft

Reland the changes related to the new intent-filter for the USB_DEVICE_ATTACHED#1778
javifernandez wants to merge 2 commits intomainfrom
reland-vision-usbhost

Conversation

@javifernandez
Copy link
Member

@javifernandez javifernandez commented Feb 20, 2025

This PR has been reverted in PR #1775 and we are trying to land it again now.

Please, test the cases described in the issues that this change supposedly fixes.

This PR it's blocked on the issue #1764 so it should not be merged until we have a fix.

Fixes #1765 #1767

This change adds also a meta-data section for the USB_DEVICE_ATTACHED action
to identify the Vision Glass device, so that it can be selected by the user
as the default application to handle such USB device.
If Wolvic is defined as the default application for a USB, it's possible
to avoid requesting for USB permissions every time the device is connected.

In order to do this we need to intercept the USB_DEVICE_ATTACHED intent
action and check if Wolvic already has permissions to access the USB device.
@javifernandez javifernandez marked this pull request as draft February 21, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wolvic is not assigned as default application for the Vision Glass

1 participant