From eb31b3b0759caf74708d5792d211c1f393c509e0 Mon Sep 17 00:00:00 2001 From: Venkatesh Shukla Date: Fri, 21 Aug 2015 00:19:46 +0200 Subject: [PATCH] Open subsurface on attaching divecomputer Added USB usage permissions in manifest. Also added various FTDI based USB devices in xml/device_filter.xml. When any device matching the VID and PID provided in the device_filter.xml is attached, subsurface application is opened automatically. Also, the USB permissions are granted to the application. This simplifies the USB file generation approach. Signed-off-by: Venkatesh Shukla Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- android/AndroidManifest.xml | 10 +++++++++- android/res/xml/device_filter.xml | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 android/res/xml/device_filter.xml diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 882623781..c9a016a0c 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -81,6 +81,12 @@ --> + + + + + @@ -91,7 +97,9 @@ android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" - android:smallScreens="true" /> + android:smallScreens="true" /> + + + + + + + + + + + + +