yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] gerryS2:
I think that in the:

invoke-virtual {v0, v2, v9}, Landroid/widget/RemoteViews;->setTextColor(II)V

the variable v2 is not found, try with this code:

iget-object v9, p0, Landroid/app/Notification$Style;->mContext:Landroid/content/Context;

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

move-result-object v9

const-string v10, "noti_summary_text_color"

const v11, -0x1

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

move-result v9

[COLOR="Red"]const v2, 0x1020046[/COLOR]

invoke-virtual {v0, v2, v9}, Landroid/widget/RemoteViews;->setTextColor(II)V
[Galaxy S II Android Development] remuntada78:
i need a help , i don't understand how to implement the context:(
[Galaxy S II Android Development] Goldie:
You are not invoking the new method anywhere and also it shoukd be iget before setting color not iput
[Galaxy S II Android Development] remuntada78:
you're right, this is cause I hurry to solve :p

thanks again

where can i invoke the new method?
[Galaxy S II Android Development] remuntada78:
trying to invoke the new method in .method public constructor <init>()V

.method public constructor <init>()V
.registers 2

.prologue
.line 1745
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 1748
const/4 v0, 0x0

iput-object v0, p0, Landroid/app/Notification$Style;->mSummaryText:Ljava/lang/CharSequence;

.line 1749
const/4 v0, 0x0

iput-boolean v0, p0, Landroid/app/Notification$Style;->mSummaryTextSet:Z

[COLOR="Red"] invoke-direct {p0}, Landroid/app/Notification$Style;->notitextcolor(Landroid/content/Context;)V[/COLOR]

return-void
.end method

but i had problem with compile

where can i add the invoke of new method?
[Galaxy S II Android Development] Goldie:
You gave the method context as a parameter but did not pass it any context when invoking. If there is no context in that file to pass then im guessing you cant do it there
[Galaxy S II Android Development] remuntada78:
[MENTION=3065070]Goldie[/MENTION]

i found the code for notification text color in Notification$Builder.smali from a Alliance Rom , I'm sorry if I took the liberty , and i implement it in my Notification$Builder.smali, but when i try to download an apk fro playstore i get a FC

E/AndroidRuntime( 4440): FATAL EXCEPTION: Download Service

E/AndroidRuntime( 4440): java.lang.NullPointerException

E/AndroidRuntime( 4440):	at android.app.Notification$Builder.setProgress(Notification.java:1223)

E/AndroidRuntime( 4440):	at com.android.providers.downloads.DownloadNotification.updateActiveNotification(DownloadNotification.java:163)

E/AndroidRuntime( 4440):	at com.android.providers.downloads.DownloadNotification.updateNotification(DownloadNotification.java:113)

E/AndroidRuntime( 4440):	at com.android.providers.downloads.DownloadService$UpdateThread.run(DownloadService.java:361)
[Galaxy S II Android Development] Goldie:
Thats not cool mate. You can figure that yourself.
[Galaxy S II Android Development] remuntada78:
ok i'm sorry
[Galaxy S II Android Development] Goldie:
The whole point of the thread is so people dont have to do this.
[Galaxy S II Android Development] remuntada78:
you're right, it was my last attempt ,'cause my code didn' work perfectly, sorry again
[Galaxy S II Android Development] gerryS2:
Try with this:

iget-object v0, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mContext:Landroid/content/Context;

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

move-result-object v0

const-string v1, "choose_dialer"

const v3, 0x0

invoke-static {v0, v1, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v0

const v3, 0x0

if-eq v0, v3, :cond_0

const v3, 0x1

if-eq v0, v3, :cond_1

const v2, 0x7f02039e

goto :goto_0

:cond_0
const v2, 0x7f02039e

goto :goto_0

:cond_1
const v2, 0x7f02064a

goto :goto_0

:goto_0
[Galaxy S II Android Development] remuntada78:
thanks gerryS2, but now i noticed that i lost to implement the return-void at the end of the method and also i didn't call the method , but i don't understand where call it
[Galaxy S II Android Development] remuntada78:
i changed the code with the following

.method public DialerBackground()V
.locals 5

iget-object v1, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mContext:Landroid/content/Context;

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

move-result-object v1

const-string v2, "choose_dialer"

const v3, 0x0

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x1

if-eq v1, v2, :cond_0

const v2, 0x7f02039e

goto :goto_0

:cond_0
const v2, 0x7f02064a

:goto_0
iget-object v3, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mDialpad:Landroid/view/View;

invoke-virtual {v3, v2}, Landroid/view/View;->setBackgroundResource(I)V

return-void

.end method

and i added the following line in .method public resetAllLayout()V

invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

.line 918
iget-object v0, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mDialpadLand:Landroid/view/View;

invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

[COLOR="Red"]invoke-virtual {p0}, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->DialerBackground()V[/COLOR]

.line 919
iget-object v0, p0, Lcom/sec/android/app/dialertab/dialpad/DialpadFragment;->mOneHand:Landroid/view/ViewGroup;

invoke-virtual {v0, v8}, Landroid/view/ViewGroup;->setVisibility(I)V

this tome i got not error but not any changes too with and without restart the devices

any suggestion?
[Galaxy S II Android Development] maskerwsk:
Quick Question, In the tutorial for text colour you have this as the finished mod

invoke-virtual {p0, v3}, Lcom/android/systemui/statusbar/policy/DateView;->setText([COLOR="rgb(221, 160, 221)"]Ljava/lang/CharSequence[/COLOR]V

invoke-virtual {p0}, Lcom/android/systemui/statusbar/policy/DateView;->getContext()Landroid/content/Context;

move-result-object v5

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

move-result-object v5

const-string v6, "date_color"

const v7, -0xcc4a1a

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

move-result v5

invoke-virtual {p0, v5}, Lcom/android/systemui/statusbar/policy/DateView;->setTextColor(I)V

im looking at modding lockscreen alarm text and there is settext there but not in p0 its in v1

should the same code work if I change the p0 registers to v etc?

thanks.
[Galaxy S II Android Development] remuntada78:
you mean there is something like this?

iget-object v3, p0, Lcom/android/internal/policy/impl/KeyguardStatusViewManager;->mAlarmStatusView:Landroid/widget/TextView;

invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
[Galaxy S II Android Development] maskerwsk:
here is what I have (added in red)

iget-object v1, p0, Lcom/android/keyguard/sec/SecKeyguardClock;->mAlarm:Landroid/widget/TextView;

iget-object v2, p0, Landroid/view/View;->mContext:Landroid/content/Context;

const v3, 0x7f0600bb

const/4 v4, 0x1

new-array v4, v4, [Ljava/lang/Object;

aput-object v0, v4, v5

invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

move-result-object v2

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

[COLOR="Red"]invoke-virtual {v1}, Lcom/android/keyguard/sec/SecKeyguardClock;->getContext()Landroid/content/Context;

move-result-object v2

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

move-result-object v2

const-string v3, "clock_text_color"

const v4, -0xcc4a1a

invoke-static {v2, v3, v4}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

invoke-virtual {v1, v2}, Lcom/android/keyguard/sec/SecKeyguardClock;->setTextColor(I)V[/COLOR]

.line 223
iget-object v1, p0, Lcom/android/keyguard/sec/SecKeyguardClock;->mAlarm:Landroid/widget/TextView;

invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V
[Galaxy S II Android Development] Goldie:
Works? If not try...

invoke-virtual {v1}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v2

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

move-result-object v2

const-string v3, "clock_text_color"

const v4, -0xcc4a1a

invoke-static {v2, v3, v4}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
[Galaxy S II Android Development] remuntada78:
Maybe i'm blind which is the difference?
[Galaxy S II Android Development] maskerwsk:
no it doesn't work and neither did the one you suggested.

all compiles fine and no force close but just plain old white text
[Galaxy S II Android Development] Goldie:
Lcom/android/keyguard/sec/SecKeyguardClock vs Landroid/widget/TextView
[Galaxy S II Android Development] maskerwsk:
I thought that lol, thought I must be blind
[Galaxy S II Android Development] Goldie:
Then either its being overridden elsewhere...maybe by xml...or itsvthe wrong view. Load it up in heirarchyviewer or monitor and check the view id
[Galaxy S II Android Development] maskerwsk:
ok thank you
[Galaxy S II Android Development] maskerwsk:
back with another one guys lol

ive added a toggle to hide the toggles in notification panel.

did that by calling with id and added to observer and all works fine.

However, now when I hide the toggles I get this (see screenshot).

I had this issue with 4.3 but was solved by putting the toggles inside a linear layout with an id, and then uses android:layoutbelow [MENTION=228980]iD[/MENTION] so that when the layout collapsed the items under would move into its place.

on 4.4.2 the layout isn't the same, the toggles have there own layout.xml

and in status_bar_expanded they are called like this:

<ViewStub android:id= [MENTION=228980]iD[/MENTION]/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />

I tried the same thing, adding to linearlayout and using android:layoutbelow but still doesn't collapse correctly,

any ideas?
[Galaxy S II Android Development] Goldie:
Well it just says there is no mcontext field
[Galaxy S II Android Development] maskerwsk:
Ive added a color filter to my battery icon, it works fine however its making the battery icon fully coloured. See pic. Is there a way to lessen the filter so it shades the icon so you can still see the battery level

Edit - nevermind. Setting a transparency from colour picker does it fine :)
[Galaxy S II Android Development] maskerwsk:
Sorry to bug guys but anyone got any input on this? Im still unable to make it work. Thanks
[Galaxy S II Android Development] maskerwsk:
Hi guys. Ive added a bunch of color pickers to the notification panel items. Toggles, icons, ongoing notifications etc. They all seem to work fine and take effect straight away. However some times i notice there not working. Every now and again i get a glipse of the stock theme. And then 2 mins later it will be working again. Any ideas why? I havent modded and images tho. Might it be better to make all the stock images white?
[Galaxy S II Android Development] Pankaj Rai:
thanks
[Galaxy S II Android Development] remuntada78:
have you correctly added the observers for your new stuff?
[Galaxy S II Android Development] maskerwsk:
Yeah all thays fine. Colors update straight away etc. It happens like once a week. Its pretty odd.

I colored the images by writing a new method and calling by id. The one thats doing it the most is the notification header and ongoing notification header. Its pretty strange
[Galaxy S II Android Development] maskerwsk:
Here is an example. You can see the no notification bar should be set to grey. But its showing blue. This happened after i cleared a notification. If i was to restart my systemui now it will go back to grey. But as i called the bars by id and colored them i dont understand it
[Galaxy S II Android Development] Goldie:
Its reloaded by phonestatusbar on receiving noti and clearing. Your color code wont then be run so it stays as stock until u restart ui and your color code runs. Solution....find all the setvisibility for it and run your color method straight after
[Galaxy S II Android Development] eZdubzitmk4:
[MENTION=3065070]Goldie[/MENTION] I have never had a chance to come by and thank you. I have been learning smali for a while and learned the same way as you. Thanks so much for this thread man. I'm sure you have helped hundreds of devs and your name should be plastered all over xda for thanks.

Thanks again man.

eZ

Sent from my NoteII
[Galaxy S II Android Development] Goldie:
Thanks for the kind words :) Could vote the thread newsworthy ;)
[Galaxy S II Android Development] eZdubzitmk4:
Will do sir. Opening my laptop now.

Sent from my NoteII
[Galaxy S II Android Development] Vivek_Neel:
Hi mate.

Just a suggestion.

Y can't this thread be in Android software & hacking development section.?

This is general guide.

And also strange to see that it has not been appeared still on xda portal.:D

Voted already
[Galaxy S II Android Development] Goldie:
I didnt have it there cos stuff gets buried within minutes but Thanks
[Galaxy S II Android Development] gerryS2:
Hi [MENTION=3065070]Goldie[/MENTION], I have a request for you, how I can resolve this error:

D/dalvikvm( 4374): --- called into dvmAbstractMethodStub

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

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

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

E/AndroidRuntime( 4374): java.lang.AbstractMethodError: abstract method not implemented

E/AndroidRuntime( 4374):	at com.android.internal.view.IInputMethodManager$Stub.isInputMethodShown(IInputMethodManager.java)

E/AndroidRuntime( 4374):	at android.view.inputmethod.InputMethodManager.isInputMethodShown(InputMethodManager.java:1968)
[Galaxy S II Android Development] maskerwsk:
Hi Guys.

Can SetVisibility be used in a ne method?

I want to show/hide the text in quick toggles,

So in QuickSettingButton.smali I added the following:

[HIDE].method maskerwsk_hide_toggle_text()V
.locals 5
iget-object v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnText:Landroid/widget/TextView;

invoke-virtual {v1}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v1

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

move-result-object v1

const-string v2, "maskerwsk_show_text"

const v3, 0x1

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

if-nez v1, :cond_show_text

const v2, 0x8

:cond_show_text

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

return-void
.end method[/HIDE]

systemUI compiles fine afterwards but the toggles are gone when phone boots.

does the above look ok?
[Galaxy S II Android Development] Goldie:
No. You say if-nez v1 then cond_show_text.....if it skips to that cond v2 has a string in it still so it cant set visibility with a string as parameter. Put const v2, 0x0 above if-nez v1 line
[Galaxy S II Android Development] maskerwsk:
Thanks Bud,

But still same outcome, this is what I have now

.method maskerwsk_hide_toggle_led()V
.locals 5
iget-object v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnText:Landroid/widget/TextView;

invoke-virtual {v1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;

move-result-object v1

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

move-result-object v1

const-string v2, "maskerwsk_show_led"

const v3, 0x1

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x0

if-nez v1, :cond_show_text

const v2, 0x8

:cond_show_text

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

return-void
.end method

any other ideas :) thanks.
[Galaxy S II Android Development] Goldie:
Sorry....You are also setting visibility on v0 which has nothing in it. You need to iget the mBtnText.

.method maskerwsk_hide_toggle_led()V
.locals 5
iget-object v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnText:Landroid/widget/TextView;

invoke-virtual {v1}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;

move-result-object v1

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

move-result-object v1

const-string v2, "maskerwsk_show_led"

const v3, 0x1

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x0

if-nez v1, :cond_show_text

const v2, 0x8

:cond_show_text

iget-object v1, p0, Lcom/android/systemui/statusbar/policy/quicksetting/QuickSettingButton;->mBtnText:Landroid/widget/TextView;

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

return-void
.end method
[Galaxy S II Android Development] maskerwsk:
Your the ****in man goldie :)

thanks bud, worked like a charm :)

Although I did get a weird result, will need to check the layouts etc I guess
[Galaxy S II Android Development] phenomarc:
Hi, there's a way to update the Color Picker tools of ficeto's app to, for example, Holo Color Picker?

And another question, what's better: restart SystemUI or add a Observer?
[Galaxy S II Android Development] remuntada78:
IMO ,when it's possible or when i'm able, add a observer it's better 'cause i don't have an apk to restart SystemUI like in Alliance Roms and if i don't add a observer i need to restart the device, boring for me.
[Galaxy S II Android Development] phenomarc:
I have to hotboot to.

So, I've to make my observer working.

Because, I have 3 methods in PhoneStatusBar.smali to show/hide stock toogles, lidroid toggles and 3minit. They 're invoked in makestatusbarview. I've to add them to observer or only the makestatusbarview method?
[Galaxy S II Android Development] remuntada78:
you should add the observer, in my device(galaxy s2) the observer for PhoneStatusBar.smali is in PhoneStatusBar$SettingsObserver.smali

generally i add the following lines in the .method observe()V

const-string v1, "[COLOR="Red"]here put the key[/COLOR]"

invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;

move-result-object v1

invoke-virtual {v0, v1, v2, p0}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V

and the following lines in the .method public onChange(Z)V

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;->this$0:Lcom/android/systemui/statusbar/phone/PhoneStatusBar;

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;->[COLOR="Red"]here put the name of new method[/COLOR]()V
[Galaxy S II Android Development] phenomarc:
Last line I have:

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->[COLOR="Red"]here put the name of new method[/COLOR]()V

Is correct?
[Galaxy S II Android Development] remuntada78:
i'm not sure on what you mean, if you mean to add it on PhoneStatusBar$SettingsObserver.smali then not, you only need to add what i wrote
[Galaxy S II Android Development] phenomarc:
Because my methods are in PhoneStatusBar.smali, not in PhoneStatusBar$SettingsObserver.smali, so the last line has to be invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar not invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar. Is this correct?
[Galaxy S II Android Development] remuntada78:
add the new methods in PhoneStatusBar.smali is correct then for observer you need to add the lines i wrote for each method in PhoneStatusBar$SettingsObserver.smali
[Galaxy S II Android Development] phenomarc:
I know it, but I mean if when you add the lines to OnChange in the observer:

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;->this$0:Lcom/android/systemui/statusbar/phone/PhoneStatusBar;

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/[COLOR="Blue"]PhoneStatusBar$SettingsObserver[/COLOR];->here put the name of new method()V

the blue part has to be PhoneStatusBar.
[Galaxy S II Android Development] remuntada78:
No it need to be PhoneStatusBar $ SettingsObserver

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Galaxy S II Android Development] Goldie:
Yes...you are right....like this....

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$SettingsObserver;->this$0:Lcom/android/systemui/statusbar/phone/PhoneStatusBar;

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->method_name()V
[Galaxy S II Android Development] remuntada78:
Ops I'm sorry i was wrong [emoji28]

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Galaxy S II Android Development] phenomarc:
Great, and for update the Color Picker tool, there's a way to do it?

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S II Android Development] maskerwsk:
quick one guys.

Ive added a lock button to statusbar_expanded_header.

ive added setvisibility to phonestatusbar so I can show/hide it.

working fine.

now I want to color it, but as its not an image view I understand "check-cast" needs to be used.

so here is what I have, its giving my a FC on systemUI when pushed:

[HIDE].method maskerwsk_color_lock_button()V
.locals 5

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

const v1, 0x7f070049 #Id-Lock

invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

move-result-object v0

iget-object v2, p0, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;

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

move-result-object v2

const-string v3, "maskerwsk_lock_button_color"

const v4, -0xffe2da

invoke-static {v2, v3, v4}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

check-cast v2, Landroid/widget/ImageView;

invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setColorFilter(I)V

return-void
.end method[/HIDE]

is that on the right path?

thanks.
[Galaxy S II Android Development] remuntada78:
try to put check-cast before the iget-object v2, p0, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;

Goldie might help you more if you post a log