Minor fix;
This commit is contained in:
parent
7a0256afe9
commit
e89472d5d1
|
@ -53,7 +53,6 @@ public class FilePickerPlugin implements MethodCallHandler {
|
||||||
public void onMethodCall(MethodCall call, Result result) {
|
public void onMethodCall(MethodCall call, Result result) {
|
||||||
if (call.method.equals("pickPDF")) {
|
if (call.method.equals("pickPDF")) {
|
||||||
this.result = result;
|
this.result = result;
|
||||||
|
|
||||||
startFileExplorer();
|
startFileExplorer();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -61,16 +60,7 @@ public class FilePickerPlugin implements MethodCallHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String resolveFileType(String type) {
|
|
||||||
switch (type) {
|
|
||||||
case "PDF":
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "IMAGES":
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean checkPermission() {
|
private boolean checkPermission() {
|
||||||
Activity activity = instance.activity();
|
Activity activity = instance.activity();
|
||||||
Log.i("SimplePermission", "Checking permission : " + permission);
|
Log.i("SimplePermission", "Checking permission : " + permission);
|
||||||
|
|
Loading…
Reference in New Issue