Default [TUT] Lockscreen - Draw pattern - less than 4 dots

Here is tutorial how to mod Settings.apk if you want to draw pattern less than 4 dots.
I try this on GB, not tested on ICS
Click image for larger version

Name:	screenshot_2014-05-23_1913_2.png
Views:	24
Size:	42.7 KB
ID:	2759415Click image for larger version

Name:	screenshot_2014-05-23_1913_1.png
Views:	20
Size:	42.4 KB
ID:	2759414
decompile Settings.apk
go to:
Settings\smali\com\android\settings\ChooseLockPatt ern$1.smali

and change this:
Code:
Select Code
    :cond_4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x4

    if-ge v0, v1, :cond_5
to this:
Code:
Select Code
    :cond_4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-ge v0, v1, :cond_5
recompile, push to system/app, reboot.