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
ded5b2f2
Commit
ded5b2f2
authored
Sep 23, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:升级ydl-media
parent
1c7336c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
config.gradle
config.gradle
+3
-3
AndroidManifest.xml
m-course/src/main/AndroidManifest.xml
+2
-1
PlayService.kt
ydl-media/src/main/java/com/ydl/media/audio/PlayService.kt
+1
-1
No files found.
config.gradle
View file @
ded5b2f2
...
...
@@ -37,7 +37,7 @@ ext {
//第二步 若干
"ydl-webview"
:
"0.0.38.47"
,
"ydl-media"
:
"0.0.21.1
0
"
,
"ydl-media"
:
"0.0.21.1
1
"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.41"
,
"ydl-flutter-base"
:
"0.0.14.31"
,
...
...
@@ -119,7 +119,7 @@ ext {
//第二步 若干
"ydl-webview"
:
"0.0.38.47"
,
"ydl-media"
:
"0.0.21.1
0
"
,
"ydl-media"
:
"0.0.21.1
1
"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.41"
,
"ydl-flutter-base"
:
"0.0.14.31"
,
...
...
@@ -220,7 +220,7 @@ ext {
"systembartint"
:
"com.readystatesoftware.systembartint:systembartint:1.0.3"
,
"cube"
:
"in.srain.cube:cube-sdk:1.0.44@aar"
,
"support-multidex"
:
'androidx.multidex:multidex:2.0.0'
,
"ydl-ijkplayer-jjdxm"
:
"com.ydl:jjdxm-ijkplayer:0.0.
5
"
,
"ydl-ijkplayer-jjdxm"
:
"com.ydl:jjdxm-ijkplayer:0.0.
6
"
,
"robust"
:
"com.meituan.robust:robust:0.4.87"
,
"walle"
:
"com.meituan.android.walle:library:1.1.5"
,
"jpush"
:
"cn.jiguang.sdk:jpush:3.3.6"
,
...
...
m-course/src/main/AndroidManifest.xml
View file @
ded5b2f2
...
...
@@ -9,7 +9,8 @@ com.netease.nimlib.avchat,
com.netease.nimlib.nrtc,
com.netease.nimlib.chatroom,
com.netease.nimlib.lucene,
com.netease.nimlib.push
com.netease.nimlib.push,
tv.danmaku.ijk.media.player_arm64
"
/>
<uses-permission
android:name=
"android.permission.SYSTEM_ALERT_WINDOW"
/>
<uses-permission
android:name=
"android.permission.FOREGROUND_SERVICE"
/>
...
...
ydl-media/src/main/java/com/ydl/media/audio/PlayService.kt
View file @
ded5b2f2
...
...
@@ -31,7 +31,7 @@ class PlayService : Service() {
var
nm
=
getSystemService
(
NOTIFICATION_SERVICE
)
as
NotificationManager
;
//数字是随便写的“40”,
nm
.
createNotificationChannel
(
NotificationChannel
(
"40"
,
"App Service"
,
NotificationManager
.
IMPORTANCE_DEFAULT
));
var
builder
=
new
NotificationCompat
.
Builder
(
this
,
"40"
);
var
builder
=
NotificationCompat
.
Builder
(
this
,
"40"
);
//其中的2,是也随便写的,正式项目也是随便写
startForeground
(
2
,
builder
.
build
());
...
...
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