commit | 7158ea25cd255d48febb8c8ba7203c79eb9c4213 | [log] [tgz] |
---|---|---|
author | chad <guochongscut@gmail.com> | Sun Dec 21 15:43:01 2014 +0800 |
committer | 冲 郭 <guochongscut@gmail.com> | Thu Jan 08 14:12:40 2015 +0000 |
tree | 7f2e4220ce3fdfa6a8af64643821827617af5b69 | |
parent | dbcb4a16d4c91d960359fbdb8c6f1d72a4daca9e [diff] |
bindService can't start up service process Issue 85758 https://code.google.com/p/android/issues/detail?id=85758 Change-Id: I28645445ee5c46b2ab4cf78189f143ea97df63dd Signed-off-by: chad <guochongscut@gmail.com>
diff --git a/services/core/java/com/android/server/am/ActiveServices.java b/services/core/java/com/android/server/am/ActiveServices.java index f02a815..0540326 100755 --- a/services/core/java/com/android/server/am/ActiveServices.java +++ b/services/core/java/com/android/server/am/ActiveServices.java
@@ -1322,6 +1322,7 @@ // We are now bringing the service up, so no longer in the // restarting state. if (mRestartingServices.remove(r)) { + r.resetRestartCounter(); clearRestartingIfNeededLocked(r); }