platform: Expose process info

This commit is contained in:
世界
2025-12-27 20:13:01 +08:00
parent 494990f914
commit 4e94a64dcc
5 changed files with 216 additions and 80 deletions

View File

@@ -118,6 +118,9 @@ func (r *Router) Start(stage adapter.StartStage) error {
needFindProcess = true
}
}
if C.IsAndroid && r.platformInterface != nil {
needFindProcess = true
}
if needFindProcess {
if r.platformInterface != nil && r.platformInterface.UsePlatformConnectionOwnerFinder() {
r.processSearcher = newPlatformSearcher(r.platformInterface)