增强守护进程护航能力。
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Dec 13 03:34:07 GMT 2025
|
#Sat Dec 13 03:37:48 GMT 2025
|
||||||
stageCount=1
|
stageCount=1
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.12
|
baseVersion=15.12
|
||||||
publishVersion=15.12.0
|
publishVersion=15.12.0
|
||||||
buildCount=80
|
buildCount=81
|
||||||
baseBetaVersion=15.12.1
|
baseBetaVersion=15.12.1
|
||||||
|
|||||||
@@ -94,13 +94,7 @@ public class AssistantService extends Service {
|
|||||||
reloadMainServiceConfig();
|
reloadMainServiceConfig();
|
||||||
if (mMainServiceBean != null && mMainServiceBean.isEnable()) {
|
if (mMainServiceBean != null && mMainServiceBean.isEnable()) {
|
||||||
LogUtils.d(TAG, "MyServiceConnection.onServiceDisconnected: 延迟重试绑定主服务");
|
LogUtils.d(TAG, "MyServiceConnection.onServiceDisconnected: 延迟重试绑定主服务");
|
||||||
// Java 7 匿名 Runnable 替代 Lambda
|
wakeupAndBindMain();
|
||||||
new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
wakeupAndBindMain();
|
|
||||||
}
|
|
||||||
}, RETRY_DELAY_MS);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user