1. 首先需要在alps/frameworks/base/res/res/values/config.xml中定义需要显示的icon的配置信息。以添加headset(耳机图标)为例
 2.其次在
 alps/frameworks/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarPolicy.java 中进行初始化
 3.然后在
 alps/frameworks/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarPolicy.java 中注册相应的receiver来接收Intent
 同时在updateHeadSet方法中调用StatusBarManager提供的setIcon/setIconVisibility方法 来显示或隐藏head seticon.
                










