Android6.0 使用lanucher3的搜索时出现crash,解决方法如下:

diff --git a/packages/apps/Launcher3/src/com/android/launcher3/Launcher.java b/packages/apps/Launcher3/src/com/android/launcher3/Launcher.javaindex e550902..aba6363 100755--- a/packages/apps/Launcher3/src/com/android/launcher3/Launcher.java+++ b/packages/apps/Launcher3/src/com/android/launcher3/Launcher.java@@ -2872,6 +2872,8 @@ public class Launcher extends Activity     }      private boolean startActivity(View v, Intent intent, Object tag) {+           if(intent == null)+                       return false;         intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);         try {             // Only launch using the new animation if the shortcut has not opted out (this is a


更多相关文章

  1. mybatisplus的坑 insert标签insert into select无参数问题的解决
  2. 箭头函数的基础使用
  3. NPM 和webpack 的基础使用
  4. Python list sort方法的具体使用
  5. 【阿里云镜像】使用阿里巴巴DNS镜像源——DNS配置教程
  6. android使用gridview的书架效果
  7. android]Android(安卓)线程优先级修改
  8. Android(安卓)Studio安装使用图文教程
  9. Android(安卓)studio使用lambda表达式

随机推荐

  1. 关于Android(安卓)27.1.1版本不兼容问题
  2. android源码编译的小小总结
  3. TableLayout 动态表格
  4. Android(安卓)Studio利用BuildConfig获取
  5. Android开发从入门到精通(7)_1
  6. Android(安卓)之最新最全的Intent传递数
  7. Android(安卓)OnClickListener 使用总结
  8. andorid中网络图片下载、保存以及在相册
  9. android 多线程断点续传下载 二
  10. Android之LayoutInflater了解(20190109)