[Vibrant Android Development] untermensch:
settings is pretty involved but others have asked for this also so I pulled all the

code I added, you will also have to remove all code related to the puzzle unlock

check box.

=====================================================================================================================================
line 26:
=====================================================================================================================================
.field private static final KEY_LOCK_SCREEN:Ljava/lang/String; = "lock_screen"

=====================================================================================================================================
line 62:
=====================================================================================================================================

.field protected mLockPatternUtils:Lcom/android/settings/LockPatternUtils;

.field private mLockScreen:Landroid/preference/ListPreference;

=====================================================================================================================================
line 610:
=====================================================================================================================================

iget-object v11, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

iget-object v12, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockPatternUtils:Lcom/android/settings/LockPatternUtils;

invoke-virtual {v12}, Lcom/android/settings/LockPatternUtils;->getLockConfig()I

move-result v12

invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

move-result-object v12

invoke-virtual {v11, v12}, Landroid/preference/ListPreference;->setValue(Ljava/lang/String;)V

iget-object v11, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

invoke-virtual {v11}, Landroid/preference/ListPreference;->getValue()Ljava/lang/String;

move-result-object v11

invoke-direct {p0, v11}, Lcom/android/settings/SoundAndDisplaySettings;->updateUnlockScreenSummary(Ljava/lang/Object;)V

====================================================================================================================================
add this method:
====================================================================================================================================

.method private updateUnlockScreenSummary(Ljava/lang/Object;)V
.locals 6
.parameter "value"

.prologue
.line 343
invoke-virtual {p0}, Lcom/android/settings/SoundAndDisplaySettings;->getResources()Landroid/content/res/Resources;

move-result-object v3

const v4, 0x7f050026

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getTextArray(I)[Ljava/lang/CharSequence;

move-result-object v1

.line 344
.local v1, summaries:[Ljava/lang/CharSequence;
iget-object v3, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

invoke-virtual {v3}, Landroid/preference/ListPreference;->getEntryValues()[Ljava/lang/CharSequence;

move-result-object v2

.line 345
.local v2, values:[Ljava/lang/CharSequence;
const/4 v0, 0x0

.local v0, i:I
:goto_0
array-length v3, v2

if-ge v0, v3, :cond_0

.line 346
const-string v3, "foo"

new-instance v4, Ljava/lang/StringBuilder;

invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

const-string v5, "Comparing entry "

invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v4

aget-object v5, v2, v0

invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

move-result-object v4

const-string v5, " to current "

invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v4

iget-object v5, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

invoke-virtual {v5}, Landroid/preference/ListPreference;->getValue()Ljava/lang/String;

move-result-object v5

invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v4

invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v4

invoke-static {v3, v4}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

.line 347
aget-object v3, v2, v0

invoke-virtual {v3, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_1

.line 348
iget-object v3, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

aget-object v4, v1, v0

invoke-virtual {v3, v4}, Landroid/preference/ListPreference;->setSummary(Ljava/lang/CharSequence;)V

.line 352
:cond_0
return-void

.line 345
:cond_1
add-int/lit8 v0, v0, 0x1

goto :goto_0
.end method

=========================================================================================================================================
line 1111:
=========================================================================================================================================

new-instance v6, Lcom/android/settings/LockPatternUtils;

invoke-virtual {p0}, Lcom/android/settings/SoundAndDisplaySettings;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v5

invoke-direct {v6, v5}, Lcom/android/settings/LockPatternUtils;-><init>(Landroid/content/ContentResolver;)V

iput-object v6, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockPatternUtils:Lcom/android/settings/LockPatternUtils;

.line 229
const-string v6, "lock_screen"

invoke-virtual {p0, v6}, Lcom/android/settings/SoundAndDisplaySettings;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

move-result-object v6

check-cast v6, Landroid/preference/ListPreference;

iput-object v6, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

.line 230
iget-object v6, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockScreen:Landroid/preference/ListPreference;

invoke-virtual {v6, p0}, Landroid/preference/ListPreference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V

==================================================================================================================================================
line 1320:
==================================================================================================================================================

const-string v3, "lock_screen"

invoke-virtual {p1}, Landroid/preference/Preference;->getKey()Ljava/lang/String;

move-result-object v4

invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v3

if-eqz v3, :cond_3

move-object v0, p2

check-cast v0, Ljava/lang/String;

move-object v3, v0

invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

move-result v2

.restart local v2 #value:I

:try_start_3
iget-object v3, p0, Lcom/android/settings/SoundAndDisplaySettings;->mLockPatternUtils:Lcom/android/settings/LockPatternUtils;

invoke-virtual {v3, v2}, Lcom/android/settings/LockPatternUtils;->setLockConfig(I)V

:goto_2
invoke-direct {p0, p2}, Lcom/android/settings/SoundAndDisplaySettings;->updateUnlockScreenSummary(Ljava/lang/Object;)V
:try_end_3
.catch Ljava/lang/NumberFormatException; {:try_start_3 .. :try_end_3} :catch_1

.end local v2 #value:I
:cond_3
:goto_3

==============================================================================================================================================================
line 1414:
==============================================================================================================================================================

:catch_1
move-exception v3

move-object v1, v3

.line 528
.restart local v1 #e:Ljava/lang/NumberFormatException;
const-string v3, "SoundAndDisplaysSettings"

const-string v3, "could not persist screen unlock setting"

invoke-static {v8, v3, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

goto :goto_3