Skip to content

Commit 85c80f5

Browse files
LinXueyuanStdioshifujun
authored andcommitted
fix(core.runtime): 补全Service的3参startForeground方法
空实现对齐已有startForeground方法。只支持第三方SDK编译通过。 fix #617
1 parent 9de3cdc commit 85c80f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/sdk/core/runtime/src/main/java/com/tencent/shadow/core/runtime/ShadowService.java

+4
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ public final void stopForeground(boolean removeNotification) {
9797
//todo #37 支持Service设置Foreground
9898
//mHostServiceDelegator.stopForeground(removeNotification);
9999
}
100+
101+
public final void startForeground(int id, Notification notification, int foregroundServiceType){
102+
103+
}
100104

101105
public final void stopForeground(int flags) {
102106

0 commit comments

Comments
 (0)