preferences: add key to all items to squelch warnings

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-03-25 17:01:43 -06:00
parent 63a395125a
commit 46e2e29ead

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="settings">
<com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher" /> <com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher" android:key="version" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="restore_on_boot" android:key="restore_on_boot"
android:summaryOn="@string/restore_on_boot_summary_on" android:summaryOn="@string/restore_on_boot_summary_on"
android:summaryOff="@string/restore_on_boot_summary_off" android:summaryOff="@string/restore_on_boot_summary_off"
android:title="@string/restore_on_boot_title" /> android:title="@string/restore_on_boot_title" />
<com.wireguard.android.preference.ZipExporterPreference /> <com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
<Preference <Preference
android:key="log_viewer" android:key="log_viewer"
android:title="@string/log_viewer_title" android:title="@string/log_viewer_title"