[Galaxy S II Android Development] remuntada78:
Hi, i added the code for change notification panel background with some changes in makeStatusBarView method

.line 544
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

new-instance v10, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$5;

invoke-direct {v10, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$5;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

invoke-virtual {v9, v10}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

.line 555
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

const v10, 0x7f0d003b

invoke-virtual {v9, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v9

check-cast v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

.line 556
[COLOR="Red"] const v10, 0x7f030036

invoke-virtual {p0, v10}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->findViewById(I)Landroid/view/View;

move-result-object v12

iget-object v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

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

move-result-object v13

const-string v14, "notification_panel_bg_chooser"

const v15, 0x0

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

const v15, 0x1

if-eq v13, v15, :cond_new

const v15, 0x2

if-eq v13, v15, :cond_new2

const v10, 0x7f021135

goto :goto_new

:cond_new

const v10, 0x7f021136

goto :goto_new

:cond_new2

const v10, 0x7f021134

:goto_new

invoke-virtual {v12, v10}, Landroid/view/View;->setBackgroundResource(I)V[/COLOR]

iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

const v10, 0x7f0d0049

invoke-virtual {v9, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v9

iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

.line 558
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

new-instance v10, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$6;

invoke-direct {v10, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$6;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

invoke-virtual {v9, v10}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

.line 564
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Landroid/view/View;

invoke-virtual {v9}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

move-result-object v9

iget v9, v9, Landroid/view/ViewGroup$LayoutParams;->width:I

const/4 v10, -0x1

if-ne v9, v10, :cond_a

and i got this error

I/dalvikvm( 2349): Could not find method com.android.systemui.statusbar.phone.PhoneStatusBar.findViewById, referenced from method com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView

W/dalvikvm( 2349): VFY: unable to resolve virtual method 3900: Lcom/android/systemui/statusbar/phone/PhoneStatusBar;.findViewById (I)Landroid/view/View;

D/dalvikvm( 2349): VFY: replacing opcode 0x6e at 0x0043

E/AndroidRuntime( 2349): FATAL EXCEPTION: main

E/AndroidRuntime( 2349): java.lang.NoSuchMethodError: com.android.systemui.statusbar.phone.PhoneStatusBar.findViewById

E/AndroidRuntime( 2349):	at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:556)

E/AndroidRuntime( 2349):	at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3017)

E/AndroidRuntime( 2349):	at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:2986)

E/AndroidRuntime( 2349):	at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:460)

E/AndroidRuntime( 2349):	at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:481)

E/AndroidRuntime( 2349):	at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)

E/AndroidRuntime( 2349):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)

E/AndroidRuntime( 2349):	at android.app.ActivityThread.access$1700(ActivityThread.java:140)

E/AndroidRuntime( 2349):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)

E/AndroidRuntime( 2349):	at android.os.Handler.dispatchMessage(Handler.java:99)

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

E/AndroidRuntime( 2349):	at android.app.ActivityThread.main(ActivityThread.java:4921)

E/AndroidRuntime( 2349):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 2349):	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 2349):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)

E/AndroidRuntime( 2349):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)

E/AndroidRuntime( 2349):	at dalvik.system.NativeStart.main(Native Method)

what i need to do?

thanks in advance