博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
android Gmail查看图片时选择经信息(彩信)分享,手机报错或手机报错后又回到查看图片界面
阅读量:4044 次
发布时间:2019-05-24

本文共 733 字,大约阅读时间需要 2 分钟。

在Packages\apps\mms\src\com\android\mms\ui\UriImage.java
initFromContentUri函数
请找到这段代码:
                /// M: Code analyze 003, For fix bug ALPS00278013, send the Mms
                // with a image from phone to email,but the image name changed
                // to number and the suffix is lost when received. @{
                // filePath = uri.getPath();
                filePath = c.getString(
                    c.getColumnIndexOrThrow(Images.Media.DATA));
                /// @}
改为:
                /// M: Code analyze 003, For fix bug ALPS00278013, send the Mms
                // with a image from phone to email,but the image name changed
                // to number and the suffix is lost when received. @{
                // filePath = uri.getPath();
                try {
                filePath = c.getString(
                    c.getColumnIndexOrThrow(Images.Media.DATA));
                } catch (IllegalArgumentException e){
                 filePath = uri.getPath();
                }
                /// @}

转载地址:http://kcedi.baihongyu.com/

你可能感兴趣的文章
/etc/resolv.conf
查看>>
container_of()传入结构体中的成员,返回该结构体的首地址
查看>>
linux sfdisk partition
查看>>
ipconfig,ifconfig,iwconfig
查看>>
opensuse12.2 PL2303 minicom
查看>>
网络视频服务器移植
查看>>
Encoding Schemes
查看>>
移植QT
查看>>
如此调用
查看>>
计算机的发展史
查看>>
带WiringPi库的交叉编译如何处理一
查看>>
带WiringPi库的交叉笔译如何处理二之软链接概念
查看>>
Spring事务的七种传播行为
查看>>
ES写入找不到主节点问题排查
查看>>
Java8 HashMap集合解析
查看>>
欢迎使用CSDN-markdown编辑器
查看>>
Android计算器实现源码分析
查看>>
Android系统构架
查看>>
Android 跨应用程序访问窗口知识点总结
查看>>
各种排序算法的分析及java实现
查看>>