Skip to content

Commit bab2e0e

Browse files
committed
优化细节
1 parent 8907a55 commit bab2e0e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app-updater/src/main/java/com/king/app/updater/AppUpdater.kt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,14 @@ class AppUpdater private constructor(builder: Builder) {
103103
internal val progressUpdateInterval = builder.progressUpdateInterval
104104

105105
/** HTTP管理器 */
106-
@set:JvmSynthetic
107-
var httpManager = builder.httpManager
106+
internal val httpManager = builder.httpManager
108107

109108
/** 通知栏处理器实现 */
110-
@set:JvmSynthetic
111-
var notificationHandler = builder.notificationHandler
109+
internal val notificationHandler = builder.notificationHandler
112110

113111
/** 下载监听 */
114112
@set:JvmSynthetic
115-
var downloadListener = builder.downloadListener
113+
internal var downloadListener = builder.downloadListener
116114

117115
private var isServiceBound = false
118116

0 commit comments

Comments
 (0)