Android6.0 调用相册的闪退问题

主要是用这个调用
Intent intent2 = new Intent(Intent.ACTION_PICK);
intent2.setType("image/*");
startActivityForResult(intent2, REQUESTCODE_GALLERY);

如果使用下面的这个Android6.0 会出现 

E/HAL: load: id=gralloc != hmi->id=gralloc

  Intent intent2 = new Intent(Intent.ACTION_GET_CONTENT);
                    intent2.setType("image/*");
                    startActivityForResult(intent2, REQUESTCODE_GALLERY);
原文地址:https://www.cnblogs.com/niupi/p/6339676.html