[Galaxy S II Android Development] remuntada78:
i'm sorry i can't understand i changed the code like this

iget v6, p0, Lcom/android/internal/policy/impl/GlobalActions$ToggleAction;->mMessageResId:I

invoke-virtual {v2, v6}, Landroid/widget/TextView;->setText(I)V

[COLOR="Red"]invoke-virtual {v2}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v7

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

move-result v7

const-string v8, "checkbox_preference"

const/4 v9, 0x1

invoke-static {v7, v8, v9}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v7

if-nez v7, :cond_skip_text

:cond_skip_text[/COLOR]
invoke-virtual {v2}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v7

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

move-result-object v7

const-string v8, "text_color"

const v9, -0x1

invoke-static {v7, v8, v9}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v7

invoke-virtual {v2, v7}, Landroid/widget/TextView;->setTextColor(I)V

but don't work again

D/SamsungLockScreenProperties( 2201): Not factory mode

D/SamsungLockScreenProperties( 2201): Not factory mode. isFactoryMode() returend false

I/ShutdownThread( 2201): shut down is not started , return false

W/dalvikvm( 2201): VFY: copyRes1 v7<-v15 cat=1 type=1091118696

W/dalvikvm( 2201): VFY: rejecting opcode 0x0a at 0x0038

W/dalvikvm( 2201): VFY: rejected Lcom/android/internal/policy/impl/GlobalActions$ToggleAction;.create (Landroid/content/Context;Landroid/view/View;Landroid/view/ViewGroup;Landroid/view/LayoutInflater;)Landroid/view/View;

W/dalvikvm( 2201): Verifier rejected class Lcom/android/internal/policy/impl/GlobalActions$ToggleAction;

W/dalvikvm( 2201): threadid=26: thread exiting with uncaught exception (group=0x4106b2a0)

I/InputDispatcher( 2201): Delivering key to current input target: action: 0x0

I/InputDispatcher( 2201): Delivering key to current input target: action: 0x0

I/InputDispatcher( 2201): Delivering key to current input target: action: 0x0

E/android.os.Debug( 2201): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_sys_error

E/AndroidRuntime( 2201): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy

E/AndroidRuntime( 2201): java.lang.VerifyError: com/android/internal/policy/impl/GlobalActions$ToggleAction

E/AndroidRuntime( 2201):	at com.android.internal.policy.impl.GlobalActions.createDialog(GlobalActions.java:217)

E/AndroidRuntime( 2201):	at com.android.internal.policy.impl.GlobalActions.handleShow(GlobalActions.java:184)

E/AndroidRuntime( 2201):	at com.android.internal.policy.impl.GlobalActions.showDialog(GlobalActions.java:179)

E/AndroidRuntime( 2201):	at com.android.internal.policy.impl.PhoneWindowManager.showGlobalActionsDialog(PhoneWindowManager.java:1588)

E/AndroidRuntime( 2201):	at com.android.internal.policy.impl.PhoneWindowManager$6.run(PhoneWindowManager.java:1466)

E/AndroidRuntime( 2201):	at android.os.Handler.handleCallback(Handler.java:615)

E/AndroidRuntime( 2201):	at android.os.Handler.dispatchMessage(Handler.java:92)

E/AndroidRuntime( 2201):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 2201):	at com.android.server.wm.WindowManagerService$PolicyThread.run(WindowManagerService.java:967)

i tried to change the code in many ways but i always wrong:crying: