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
3097c8d6
Commit
3097c8d6
authored
Feb 17, 2020
by
yjiucheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
声网日志
parent
adf09a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
config.gradle
config.gradle
+5
-5
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+9
-3
No files found.
config.gradle
View file @
3097c8d6
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
tru
e
dev_mode
=
fals
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
@@ -42,8 +42,8 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.47.
6
"
,
"m-consultant"
:
"0.0.57.
1
"
,
"m-confide"
:
"0.0.47.
7
"
,
"m-consultant"
:
"0.0.57.
2
"
,
"m-fm"
:
"0.0.28"
,
"m-user"
:
"0.0.58.1"
,
"m-home"
:
"0.0.19.1"
,
...
...
@@ -75,7 +75,7 @@ ext {
"ydl-webview"
:
"0.0.37.1"
,
"ydl-media"
:
"0.0.20"
,
"ydl-pay"
:
"0.0.17"
,
"m-audioim"
:
"0.0.46.
4
"
,
"m-audioim"
:
"0.0.46.
5
"
,
"ydl-flutter-base"
:
"0.0.10"
,
//以下 几乎不会动
...
...
@@ -121,7 +121,7 @@ ext {
"ydl-webview"
:
"0.0.37.1"
,
"ydl-media"
:
"0.0.20"
,
"ydl-pay"
:
"0.0.17"
,
"m-audioim"
:
"0.0.46.
4
"
,
"m-audioim"
:
"0.0.46.
5
"
,
"ydl-flutter-base"
:
"0.0.10"
,
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
3097c8d6
...
...
@@ -171,6 +171,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
private
var
channelManager
:
ChannelManager
?
=
null
private
var
isLeavelChannel
:
Boolean
=
false
private
var
hasUpLoadLog
=
false
/**
* 声网事件回调 (SDK 通过指定的事件通知应用程序 SDK 的运行事件,如: 加入或离开频道,新用户加入频道等)
...
...
@@ -395,7 +396,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
vibrator
=
getSystemService
(
Service
.
VIBRATOR_SERVICE
)
as
Vibrator
?
}
private
fun
writeAgoraLog
(){
private
fun
writeAgoraLog
()
{
val
logBean
=
AgoraLogInfoBean
(
expertHeadUrl
,
expertName
,
...
...
@@ -1078,8 +1079,11 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
}
private
fun
uploadLog
(){
LogHelper
.
getInstance
().
uploadLog
(
false
)
private
fun
uploadLog
()
{
if
(!
hasUpLoadLog
)
{
hasUpLoadLog
=
true
LogHelper
.
getInstance
().
uploadLog
(
false
)
}
}
override
fun
finishActivity
()
{
...
...
@@ -1092,6 +1096,8 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
handler
=
null
}
hasUpLoadLog
=
false
if
(
waitDisposable
!=
null
)
{
waitDisposable
!!
.
dispose
()
}
...
...
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