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
dda503f5
Commit
dda503f5
authored
Mar 09, 2020
by
yjiucheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
声网
parent
4f1038e5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
AndroidManifest.xml
m-audioim/src/main/AndroidManifest.xml
+4
-3
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+8
-1
No files found.
m-audioim/src/main/AndroidManifest.xml
View file @
dda503f5
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.ydl.audioim"
>
package=
"com.ydl.audioim"
>
<uses-permission
android:name=
"android.permission.VIBRATE"
/>
<uses-permission
android:name=
"android.permission.VIBRATE"
/>
<application>
<activity
android:name=
".AudioHomeActivity"
android:screenOrientation=
"portrait"
/>
android:configChanges=
"screenSize|smallestScreenSize|screenLayout|orientation"
android:screenOrientation=
"portrait"
/>
</application>
</manifest>
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
dda503f5
...
...
@@ -53,6 +53,7 @@ import com.ydl.ydlcommon.modular.ModularServiceManager
import
com.ydl.ydlcommon.router.YdlCommonRouterManager
import
com.ydl.ydlcommon.utils.LogUtil
import
com.ydl.ydlcommon.utils.StatusBarUtils
import
com.ydl.ydlcommon.utils.Utils
import
com.ydl.ydlcommon.utils.log.LogHelper
import
com.ydl.ydlcommon.utils.remind.ToastHelper
import
com.yidianling.user.api.service.IUserService
...
...
@@ -445,9 +446,15 @@ class AudioHomeActivity :
tv_change_route
.
setOnClickListener
{
showChooseDialog
(
1
)
}
//挂断
iv_hang_up
.
setOnClickListener
{
if
(
Utils
.
isFastClick
())
{
//防止连击
return
@setOnClickListener
}
if
(
isConnectSuccess
)
{
updateExpertStatus
(
false
,
1
)
userCloseCalling
()
// userCloseCalling()
leaveChannel
()
uploadLog
()
}
else
{
userCloseCalling
()
}
...
...
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