hide the clock


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.