android Gmail查看图片时选择经信息(彩信)分享,手机报错或手机报错后又回到查看图片界面

在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();
                }
                /// @}

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。