[Galaxy S II Android Development] ReadReadz:
Please help me :)

I'm editing some line on smali, but got FC because "Verifier rejected"

RED: Add

.method public update()V
[B][COLOR="red"].locals 10[/COLOR][/B]

.prologue
const/4 v3, 0x0

const/4 v6, -0x2

const/4 v2, 0x1

.line 749
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v1}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v1

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v0

.line 750
.local v0, "resolver":Landroid/content/ContentResolver;
iget-object v4, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

.line 751
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v1}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v1

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

[B][COLOR="red"]const-string/jumbo v5, "quick_settings_vibrate"

.line 866
invoke-static {v1, v5, v2, v6}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v1

if-ne v1, v2, :cond_2

move v1, v2

:goto_2
invoke-static {v4, v1}, Lcom/android/systemui/qs/QSPanel;->-set9(Lcom/android/systemui/qs/QSPanel;Z)Z

.line 869
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

.line 870
iget-object v4, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v4}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v4

invoke-virtual {v4}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v4[/COLOR][/B]

const-string/jumbo v5, "qs_show_brightness_slider"

.line 750
invoke-static {v1, v5, v2, v6}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v1

if-ne v1, v2, :cond_0

move v1, v2

:goto_0
invoke-static {v4, v1}, Lcom/android/systemui/qs/QSPanel;->-set0(Lcom/android/systemui/qs/QSPanel;Z)Z

.line 753
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

.line 754
iget-object v4, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v4}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v4

invoke-virtual {v4}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v4

const-string/jumbo v5, "sysui_qs_main_tiles"

.line 753
invoke-static {v4, v5, v2, v6}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v4

if-ne v4, v2, :cond_1

:goto_1
invoke-static {v1, v2}, Lcom/android/systemui/qs/QSPanel;->-set2(Lcom/android/systemui/qs/QSPanel;Z)Z

.line 748
return-void

[COLOR="Red"][B]:cond_2
move v1, v3

.line 750
goto :goto_2[/B][/COLOR]

:cond_0
move v1, v3

.line 750
goto :goto_0

:cond_1
move v2, v3

.line 753
goto :goto_1
.end method

Original code:

.method public update()V
.locals 7

.prologue
const/4 v3, 0x0

const/4 v6, -0x2

const/4 v2, 0x1

.line 749
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v1}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v1

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v0

.line 750
.local v0, "resolver":Landroid/content/ContentResolver;
iget-object v4, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

.line 751
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v1}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v1

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string/jumbo v5, "qs_show_brightness_slider"

.line 750
invoke-static {v1, v5, v2, v6}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v1

if-ne v1, v2, :cond_0

move v1, v2

:goto_0
invoke-static {v4, v1}, Lcom/android/systemui/qs/QSPanel;->-set0(Lcom/android/systemui/qs/QSPanel;Z)Z

.line 753
iget-object v1, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

.line 754
iget-object v4, p0, Lcom/android/systemui/qs/QSPanel$SettingsObserver;->this$0:Lcom/android/systemui/qs/QSPanel;

invoke-static {v4}, Lcom/android/systemui/qs/QSPanel;->-get0(Lcom/android/systemui/qs/QSPanel;)Landroid/content/Context;

move-result-object v4

invoke-virtual {v4}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v4

const-string/jumbo v5, "sysui_qs_main_tiles"

.line 753
invoke-static {v4, v5, v2, v6}, Landroid/provider/Settings$System;->getIntForUser(Landroid/content/ContentResolver;Ljava/lang/String;II)I

move-result v4

if-ne v4, v2, :cond_1

:goto_1
invoke-static {v1, v2}, Lcom/android/systemui/qs/QSPanel;->-set2(Lcom/android/systemui/qs/QSPanel;Z)Z

.line 748
return-void

:cond_0
move v1, v3

.line 750
goto :goto_0

:cond_1
move v2, v3

.line 753
goto :goto_1
.end method

What's wrong with my code. Thanks . Logcat:

04-24 23:05:40.520 10558 10558 E AndroidRuntime: Caused by: java.lang.VerifyError: Verifier rejected class com.android.systemui.qs.QSPanel$SettingsObserver due to bad method void com.android.systemui.qs.QSPanel$SettingsObserver.update() (declaration of 'com.android.systemui.qs.QSPanel$SettingsObserver' appears in /system/priv-app/SystemUI/SystemUI.apk)
04-24 23:05:40.520 10558 10558 E AndroidRuntime: at com.android.systemui.qs.QSPanel.<init>(QSPanel.java:109)
04-24 23:05:40.520 10558 10558 E AndroidRuntime: ... 40 more