Skip to content

Conversation

cundong
Copy link
Contributor

@cundong cundong commented Sep 1, 2017

Service方案,修改调用 service的onStartCommand 时机。

之前,如果调用时,处于binder线程,会post到主线程等待主线程的执行结果再执行service的onStartCommand的方法,在某些时机会有block的风险。

修改为:post到主线程中去执行,但是不在等待。

Copy link
Contributor

@jiongxuan jiongxuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

辛苦~

@jiongxuan jiongxuan merged commit bd92819 into Qihoo360:dev Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants