Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
c5659028
Commit
c5659028
authored
Dec 23, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 清除 cookie 代码
parent
65dc9745
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
config.gradle
config.gradle
+1
-1
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+1
-2
No files found.
config.gradle
View file @
c5659028
...
...
@@ -73,7 +73,7 @@ ext {
"ydl-platform"
:
"0.0.29.4"
,
//第二步 若干
"ydl-webview"
:
"0.0.28.1
3
"
,
"ydl-webview"
:
"0.0.28.1
4
"
,
"ydl-media"
:
"0.0.14.5"
,
"ydl-pay"
:
"0.0.11.6"
,
"m-audioim"
:
"0.0.40.5"
,
...
...
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
c5659028
...
...
@@ -27,7 +27,6 @@ import com.alibaba.android.arouter.launcher.ARouter;
import
com.tencent.smtt.export.external.interfaces.JsResult
;
import
com.tencent.smtt.export.external.interfaces.SslError
;
import
com.tencent.smtt.export.external.interfaces.SslErrorHandler
;
import
com.tencent.smtt.sdk.CookieManager
;
import
com.tencent.smtt.sdk.CookieSyncManager
;
import
com.tencent.smtt.sdk.WebChromeClient
;
import
com.tencent.smtt.sdk.WebSettings
;
...
...
@@ -1102,7 +1101,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
super
.
finish
();
CookieSyncManager
.
createInstance
(
this
);
CookieSyncManager
.
getInstance
().
startSync
();
CookieManager
.
getInstance
().
removeSessionCookie
();
//
CookieManager.getInstance().removeSessionCookie();
}
private
void
openImageChooserActivity
()
{
...
...
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