hide the clock


Apr 11, 2011
27
0
11
#1
Were did the option go to hide the clock in the taskbar, I think it was still present in last weeks release??
Will it come back? :(
 
Apr 11, 2011
27
0
11
#3
There has never been such an option in MIUI. You must be thinking of a no clock mod for the notification bar.
Then it has to be a leftover setting from Cyanogenmod ( becuase i didn't do a clean instal the first time :p )

Too bad, then i have to search for some kind of mod ;)
 
Nov 28, 2010
520
2
55
#5
Well that's a lie. To hide the clock in the taskbar, you need to do it yourself.


Next we will hide the Clock Icon (most popular!)

Navigate to com/android/server/status/StatusBarPolicy.smali and open the smali file with you favorite code / text editor.

Search for the following line of code ( Roughly around line 574 )

Code:
Code:
invoke-direct {p0}, Lcom/android/server/status/StatusBarPolicy;->updateClock()V
Find the line of code and place the following directly below it.

Code:
Code:
invoke-virtual {p2, v3, v6}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V
Save and compile.