Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
Flutter Inappwebview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
Flutter Inappwebview
Commits
e18e6910
Commit
e18e6910
authored
5 years ago
by
Lorenzo Pichilli
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update InAppWebChromeClient.java
parent
c0c3fdee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
482 additions
and
483 deletions
+482
-483
android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebChromeClient.java
...utter_inappbrowser/InAppWebView/InAppWebChromeClient.java
+482
-483
No files found.
android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebChromeClient.java
View file @
e18e6910
...
...
@@ -521,7 +521,6 @@ public class InAppWebChromeClient extends WebChromeClient implements PluginRegis
WebView
webView
,
ValueCallback
<
Uri
[]>
filePathCallback
,
FileChooserParams
fileChooserParams
)
{
mUploadMessageArray
=
filePathCallback
;
try
{
Intent
contentSelectionIntent
=
new
Intent
(
Intent
.
ACTION_GET_CONTENT
);
contentSelectionIntent
.
addCategory
(
Intent
.
CATEGORY_OPENABLE
);
...
...
@@ -541,10 +540,6 @@ public class InAppWebChromeClient extends WebChromeClient implements PluginRegis
return
true
;
}
private
MethodChannel
getChannel
()
{
return
(
inAppBrowserActivity
!=
null
)
?
InAppBrowserFlutterPlugin
.
inAppBrowser
.
channel
:
flutterWebView
.
channel
;
}
@TargetApi
(
Build
.
VERSION_CODES
.
LOLLIPOP
)
@Override
public
boolean
onActivityResult
(
int
requestCode
,
int
resultCode
,
Intent
data
)
{
...
...
@@ -553,4 +548,8 @@ public class InAppWebChromeClient extends WebChromeClient implements PluginRegis
}
return
false
;
}
private
MethodChannel
getChannel
()
{
return
(
inAppBrowserActivity
!=
null
)
?
InAppBrowserFlutterPlugin
.
inAppBrowser
.
channel
:
flutterWebView
.
channel
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment