Disable change PIN when PIN is inactive

Disabled the option to change PIN code when PIN lock is disabled.
This is done by adding dependency to the checkbox above in the XML file.

Change-Id: Idafae0820297b8f7ba7a14f5ebe4f7e691547cc8
This commit is contained in:
Gustaf Nilklint
2010-12-06 10:21:13 +01:00
committed by Johan Redestig
parent 04b646df1e
commit 83fc19df76

View File

@@ -25,6 +25,7 @@
android:summaryOff="@string/sim_lock_off"/>
<com.android.settings.EditPinPreference
android:key="sim_pin"
android:dependency="sim_toggle"
android:title="@string/sim_pin_change"
android:dialogTitle="@string/sim_change_pin"
android:dialogMessage="@string/sim_enter_old"