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
e41cb057
Commit
e41cb057
authored
Jul 21, 2022
by
范玉宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove MeditationService
parent
752ca100
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
5 deletions
+3
-5
MainActivity.kt
app/src/main/java/com/ydl/component/MainActivity.kt
+0
-0
AndroidManifest.xml
m-muse/src/main/AndroidManifest.xml
+0
-2
PlayMeditationActivity.kt
m-muse/src/main/java/com/yidianling/muse/activity/PlayMeditationActivity.kt
+2
-2
MeditationFloatEvent.kt
m-muse/src/main/java/com/yidianling/muse/event/MeditationFloatEvent.kt
+1
-1
MeditationWindowService.kt
m-muse/src/main/java/com/yidianling/muse/service/MeditationWindowService.kt
+0
-0
No files found.
app/src/main/java/com/ydl/component/MainActivity.kt
View file @
e41cb057
This diff is collapsed.
Click to expand it.
m-muse/src/main/AndroidManifest.xml
View file @
e41cb057
...
...
@@ -26,7 +26,5 @@
android:screenOrientation=
"portrait"
android:theme=
"@style/un_full_screen_activity"
/>
<service
android:name=
".service.MeditationWindowService"
/>
</application>
</manifest>
m-muse/src/main/java/com/yidianling/muse/activity/PlayMeditationActivity.kt
View file @
e41cb057
...
...
@@ -453,7 +453,7 @@ class PlayMeditationActivity : BaseActivity() {
meditation
=
currentMeditation
?.
copy
(
meditationType
=
mMeditationType
,
meditationId
=
mMeditationId
?:
0
)
)
,
meditations
=
meditations
)
EventBus
.
getDefault
().
post
(
event
)
...
...
@@ -1070,7 +1070,7 @@ class PlayMeditationActivity : BaseActivity() {
}
override
fun
onBackPressed
()
{
val
event
=
MeditationFloatEvent
(
true
,
meditation
=
currentMeditation
)
val
event
=
MeditationFloatEvent
(
true
,
meditation
=
currentMeditation
,
meditations
=
meditations
)
EventBus
.
getDefault
().
post
(
event
)
super
.
onBackPressed
()
}
...
...
m-muse/src/main/java/com/yidianling/muse/event/MeditationFloatEvent.kt
View file @
e41cb057
...
...
@@ -7,6 +7,6 @@ class MeditationFloatEvent(
val
stop
:
Boolean
?
=
null
,
val
time
:
Long
?
=
null
,
val
meditation
:
MeditationPlayModuleBean
.
MeditationDetail
?
=
null
,
val
meditations
:
Array
List
<
MeditationPlayModuleBean
.
MeditationDetail
>?
=
null
val
meditations
:
Mutable
List
<
MeditationPlayModuleBean
.
MeditationDetail
>?
=
null
)
m-muse/src/main/java/com/yidianling/muse/service/MeditationWindowService.kt
deleted
100644 → 0
View file @
752ca100
This diff is collapsed.
Click to expand it.
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