We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fe019e commit cb2114bCopy full SHA for cb2114b
1 file changed
android/messagelist/src/main/java/cn/jiguang/imui/utils/PhotoViewPagerViewUtil.java
@@ -176,6 +176,9 @@ public void onClick(View v) {
176
}
177
178
public static void saveImageToAlbum(String imagePath, Context context) {
179
+ if(TextUtils.isEmpty(imagePath)){
180
+ return;
181
+ }
182
File imageFile = new File(imagePath);
183
if (imageFile.exists()) {
184
try {
0 commit comments