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
a8f66cb9
Commit
a8f66cb9
authored
Nov 10, 2020
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:增加切换传统电话日志
parent
e7ff4f84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+2
-7
No files found.
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
a8f66cb9
...
...
@@ -790,7 +790,7 @@ class AudioHomeActivity :
private
fun
showChooseDialog
(
type
:
Int
)
{
val
dialog
=
AxbConfirmDialog
(
mContext
,
type
,
object
:
AxbConfirmDialog
.
OnClickEnsureListener
{
override
fun
onClickEnsure
()
{
writeAgoraLog
(
"主叫
主动切换AXB
"
)
writeAgoraLog
(
"主叫
点击切换AXB按钮
"
)
switchAXB
()
}
...
...
@@ -812,6 +812,7 @@ class AudioHomeActivity :
if
(
isConnectSuccess
)
{
uploadException
(
""
,
"zhu"
,
"108"
,
object
:
YDLavManager
.
UploadExceptionCallback
{
override
fun
onSuccess
()
{
writeAgoraLog
(
"离开房间成功,主叫切换AXB之后"
)
mPresenter
.
getAXBPhone
(
ConnectCommand
(
listenId
!!
,
"1"
))
}
...
...
@@ -1224,12 +1225,6 @@ class AudioHomeActivity :
leaveChannel
()
}
override
fun
onStop
()
{
writeAgoraLog
(
"用户切到后台,可能要杀死进程"
)
uploadLog
()
super
.
onStop
()
}
override
fun
onDestroy
()
{
super
.
onDestroy
()
uploadLog
()
...
...
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