diff options
Diffstat (limited to 'OpenKeychain/src/main/res/xml')
-rw-r--r-- | OpenKeychain/src/main/res/xml/sync_preferences.xml | 6 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/xml/usb_device_filter.xml | 27 |
2 files changed, 33 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/xml/sync_preferences.xml b/OpenKeychain/src/main/res/xml/sync_preferences.xml index de41ff030..600ccc9e8 100644 --- a/OpenKeychain/src/main/res/xml/sync_preferences.xml +++ b/OpenKeychain/src/main/res/xml/sync_preferences.xml @@ -4,6 +4,12 @@ android:persistent="false" android:title="@string/label_sync_settings_keyserver_title"/> <SwitchPreference + android:key="enableWifiSyncOnly" + android:defaultValue="true" + android:persistent="true" + android:dependency="syncKeyserver" + android:title="@string/label_sync_settings_wifi_title"/> + <SwitchPreference android:key="syncContacts" android:persistent="false" android:title="@string/label_sync_settings_contacts_title" /> diff --git a/OpenKeychain/src/main/res/xml/usb_device_filter.xml b/OpenKeychain/src/main/res/xml/usb_device_filter.xml new file mode 100644 index 000000000..789e4ffb7 --- /dev/null +++ b/OpenKeychain/src/main/res/xml/usb_device_filter.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + Based on https://github.com/Yubico/yubikey-personalization/blob/master/ykcore/ykdef.h + Note that values are decimal. +--> +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + <!-- Yubikey NEO OTP + CCID--> + <usb-device class="11" vendor-id="4176" product-id="273"/> + <!-- Yubikey NEO CCID--> + <usb-device class="11" vendor-id="4176" product-id="274"/> + <!-- Yubikey NEO U2F + CCID--> + <usb-device class="11" vendor-id="4176" product-id="277"/> + <!-- Yubikey NEO OTP + U2F + CCID--> + <usb-device class="11" vendor-id="4176" product-id="278"/> + + + <!-- Yubikey 4 CCID--> + <usb-device class="11" vendor-id="4176" product-id="1028"/> + <!-- Yubikey 4 OTP + CCID--> + <usb-device class="11" vendor-id="4176" product-id="1029"/> + <!-- Yubikey 4 U2F + CCID--> + <usb-device class="11" vendor-id="4176" product-id="1030"/> + <!-- Yubikey 4 OTP + U2F + CCID--> + <usb-device class="11" vendor-id="4176" product-id="1031"/> + +</resources>
\ No newline at end of file |