File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
simple/src/main/java/com/jph/simple
takephoto_library/src/main/java/com/jph/takephoto/model Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change 55import android .view .View ;
66import android .widget .EditText ;
77import android .widget .RadioGroup ;
8-
98import com .jph .takephoto .app .TakePhoto ;
109import com .jph .takephoto .compress .CompressConfig ;
1110import com .jph .takephoto .model .CropOptions ;
1211import com .jph .takephoto .model .LubanOptions ;
1312import com .jph .takephoto .model .TakePhotoOptions ;
14-
1513import java .io .File ;
1614
17- import me .shaohui .advancedluban .Luban ;
18-
1915
2016/**
2117 * - 支持通过相机拍照获取图片
@@ -144,7 +140,6 @@ private void configCompress(TakePhoto takePhoto){
144140 .create ();
145141 }else {
146142 LubanOptions option =new LubanOptions .Builder ()
147- .setGear (Luban .CUSTOM_GEAR )
148143 .setMaxHeight (height )
149144 .setMaxWidth (width )
150145 .setMaxSize (maxSize )
Original file line number Diff line number Diff line change @@ -68,10 +68,6 @@ public Builder setMaxWidth(int maxWidth) {
6868 return this ;
6969 }
7070
71- public Builder setGear (int gear ) {
72- return this ;
73- }
74-
7571 public LubanOptions create () {
7672 return options ;
7773 }
You can’t perform that action at this time.
0 commit comments