View Single Post
  #9 (permalink)  
Old 08-26-2011, 10:52 AM
OMJ's Avatar
OMJ
Retired Staff
Offline
Threadstarter
Location: MN
 
Join Date: Jun 2007
Posts: 4,767
Reputation: 20305
OMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation levelOMJ can't get a higher reputation level
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Re: [Dev Tools] How to create mods

Quote:
Originally Posted by scrosler View Post
Do you know how to properly remove the GPS Icon from stat bar?
This MOD will hide the GPS status reticle and

This was made possible by RMarkwald!

This guide is a reference for the smali code change that must be made inside of SystemUI.apk to properly hide the GPS icons.

You need to edit \com\android\systemui\statusbar\policy\HtcCdmaStat usBar.smali

Search for:

Code:
.method private updateMtGpsIcon()V
.registers 8

.prologue
const/4 v5, 0x3

const/4 v4, 0x1

const/4 v3, 0x0

const-string v6, "gpsone"
Replace with:

Code:
.method private updateMtGpsIcon()V
.registers 8

.prologue
const/4 v5, 0x3

const/4 v4, 0x0

const/4 v3, 0x0

const-string v6, "gpsone"
__________________

Last edited by OMJ; 08-26-2011 at 11:14 AM.
Reply With Quote
This post has been thanked 2 times.