Apply a hack to detect programmatic changes to SwitchPreference

This commit is contained in:
Alexander Bakker 2018-05-14 17:26:17 +02:00
parent cd781d3236
commit f8891c0225
3 changed files with 51 additions and 3 deletions

View file

@ -31,7 +31,7 @@
android:inputType="number"
android:defaultValue="30"
android:dialogTitle="Set number of seconds of inactivity before Aegis locks the database"/>
<SwitchPreference
<me.impy.aegis.ui.preferences.SwitchPreference
android:key="pref_encryption"
android:title="@string/pref_encryption_title"
android:summary="@string/pref_encryption_summary"