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
ff8ccb04
Commit
ff8ccb04
authored
Jun 03, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复倾诉视频列表流量播放开关问题
parent
96033667
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
WVClickAbstractListener.java
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
+5
-7
config.gradle
config.gradle
+2
-2
IntroAdapter.kt
m-confide/src/main/java/com/ydl/confide/intro/IntroAdapter.kt
+2
-0
No files found.
app/src/main/java/com/ydl/component/service/web/WVClickAbstractListener.java
View file @
ff8ccb04
...
...
@@ -460,13 +460,6 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
@Override
public
void
playMeditation
(
int
mediaId
,
long
meditationId
,
int
meditationType
,
String
mediaCoverUrl
)
{
public
void
getNextExpertStatus
(
String
doctorID
,
String
title
,
String
uid
)
{
EventBus
.
getDefault
().
post
(
new
ChangeAnotherExpertEvent
(
doctorID
,
title
,
uid
));
}
if
(
mContext
instanceof
NewH5Activity
)
{
// YDLRouterManager.Companion.router(ROUTER_MUSE_PLAY,
// new YDLRouterParams().putExtra("MEDITATION_ID", String.valueOf(meditationId))
...
...
@@ -485,6 +478,11 @@ public class WVClickAbstractListener implements WebViewClientClickListener {
}
@Override
public
void
getNextExpertStatus
(
String
doctorID
,
String
title
,
String
uid
)
{
EventBus
.
getDefault
().
post
(
new
ChangeAnotherExpertEvent
(
doctorID
,
title
,
uid
));
}
@Override
public
void
switchSound
(
int
mediaId
,
long
meditationId
,
int
meditationType
,
int
businessType
,
String
buried
,
String
mediaUrl
,
String
mediaCoverUrl
,
String
title
,
String
desc
,
int
status
)
{
...
...
config.gradle
View file @
ff8ccb04
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.1
6
"
,
"m-confide"
:
"0.0.50.1
8
"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.26"
,
...
...
@@ -94,7 +94,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.1
6
"
,
"m-confide"
:
"0.0.50.1
8
"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.26"
,
...
...
m-confide/src/main/java/com/ydl/confide/intro/IntroAdapter.kt
View file @
ff8ccb04
...
...
@@ -91,6 +91,7 @@ internal class IntroAdapter(
val
lastCheck
=
context
.
getSharedPreferences
(
"temp_test"
,
Context
.
MODE_PRIVATE
).
getLong
(
keySp
,
0
)
val
duration
=
System
.
currentTimeMillis
()
-
lastCheck
if
(
duration
<
24
*
60
*
60
*
1000
)
{
hasAgreePlayWithoutWiFi
=
true
return
}
val
dialog
=
CommonDialog
.
create
(
context
)
...
...
@@ -114,6 +115,7 @@ internal class IntroAdapter(
.
setLeftButton_color
(
R
.
color
.
platform_but_text_color_selected
)
.
setRightButton_color
(
R
.
color
.
platform_text_bright_color
)
.
setRightClick
(
"取消"
)
{
hasAgreePlayWithoutWiFi
=
false
for
(
entry
in
videoViews
.
entries
)
{
val
value
=
entry
.
value
if
(
value
.
canPause
())
{
...
...
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