de nl-16 ol-16"> 866
                    //可以同时插入多张图片
867
                    for (String imagePath : photos) {
868
                        File file = new File(imagePath);
869
                        com.blankj.utilcode.util.LogUtils.e(file.length());
870
                        Uri fileUri = FileProvider.getUriForFile(getApplicationContext(),
871
                                getApplicationContext().getPackageName() + ".provider", file);
872
//设置权限
873
874
                        com.blankj.utilcode.util.LogUtils.e(fileUri);
875
                        startPhotoZoom(fileUri);
876
877
//                        Log.e(TAG, "call: imagePath "+imagePath );
878
//                        photo = BitmapFactory.decodeFile(imagePath);//压缩图片
879
//                        if (ImageUtils.readPictureDegree(imagePath) != 0 ){
880
//                            photo = imageZoom(ImageUtils.toturn(photo));
881
//                        }else {
882
//                            photo = imageZoom(photo);
883
//                        }
884
//                        if (photo != null) {
885
//                            iconPic.setImageBitmap(photo);
886
//                        }
887
                    }
888
                } else {
889
                    ToastUtil.showToast(getApplicationContext(), "data为null", Toast.LENGTH_SHORT);
890
                }
891
                break;
892 853
            case 1:
893 854
                if (SDCardUtil.hasSdcard()) {
894 855
                    cropImageUri = Uri.fromFile(fileCropUri);

+ 0 - 1
app/src/main/java/com/electric/chargingpile/activity/ZhanCommentActivity.java

@ -96,7 +96,6 @@ import io.reactivex.Observer;
96 96
import io.reactivex.android.schedulers.AndroidSchedulers;
97 97
import io.reactivex.disposables.Disposable;
98 98
import io.reactivex.schedulers.Schedulers;
99
import me.iwf.photopicker.PhotoPicker;
100 99
import okhttp3.Call;
101 100
import pub.devrel.easypermissions.AfterPermissionGranted;
102 101
import pub.devrel.easypermissions.EasyPermissions;

+ 1 - 1
app/src/main/res/layout/activity_talk.xml

@ -35,7 +35,7 @@
35 35
                <View
36 36
                    android:layout_width="0.5dp"
37 37
                    android:layout_height="15dp"
38
                    android:background="@color/__picker_black_40"/>
38
                    android:background="@color/black"/>
39 39
40 40
                <TextView
41 41
                    android:id="@+id/textview_hd"

+ 1 - 1
library/build.gradle

@ -1,6 +1,6 @@
1 1
apply plugin: 'com.android.library'
2 2
android {
3
    compileSdkVersion 26
3
    compileSdkVersion 29
4 4
    buildToolsVersion '29.0.0'
5 5
6 6
    defaultConfig {

Наблюдатели - Gogs: Go Git Service