源码文件

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
 public void disable(int state) { //add start        state = state | StatusBarManager.DISABLE_NOTIFICATION_TICKER | StatusBarManager.DISABLE_NOTIFICATION_ICONS;        //end        final int old = mDisabled;        final int diff = state ^ old;        mDisabled = state;        if (DEBUG) {            Log.d(TAG, String.format("disable: 0x%08x -> 0x%08x (diff: 0x%08x)",                old, state, diff));        }        StringBuilder flagdbg = new StringBuilder();        flagdbg.append("disable: < ");        flagdbg.append(((state & StatusBarManager.DISABLE_EXPAND) != 0) ? "EXPAND" : "expand");        flagdbg.append(((diff  & StatusBarManager.DISABLE_EXPAND) != 0) ? "* " : " ");
public void addNotification(IBinder key, StatusBarNotification notification) {        if (DEBUG) Log.d(TAG, "addNotification score=" + notification.getScore());        Entry shadeEntry = createNotificationViews(key, notification);        //add start     //    if (shadeEntry == null) {        if (shadeEntry != null) {            return;        }        //end

更多相关文章

  1. 《android上传图片》
  2. 【Android】打开/读取文件的方法
  3. Android配置打包名称
  4. 源码网站推荐
  5. android 文件搜索
  6. AndroidManifest.xml文件详解(uses-configuration)
  7. Android4.0中修改挂断键(ENDCALL)的默认行为
  8. android 源码的一些修改定制方案
  9. NPM 和webpack 的基础使用

随机推荐

  1. 关于android的9path图片处理
  2. 知识点梳理6 散碎点
  3. Android开机自启动程序设置及控制方法
  4. Android(安卓)API Guides---Drawable Res
  5. Android工程师怒斥360拦截弹窗广告
  6. Android系统架构解析
  7. Android(安卓)页面回调跳转(startActivity
  8. Android之隐式意图(Intent)如何查找匹配
  9. Android控件之TextView全解析
  10. 从零开始--系统深入学习android(实践-让我