Commit 78f9fff
Handle stopping of services with still bound applications.
When a service is stopping we get unbindFinished when all connections
are unbinded. If applications are still bound to this Service we will
rebind the connection making the service hang in stopping state. This
fixed issues with ANR during CTS test
android.os.cts.BinderTest#testTransact
Change-Id: I9402aebd0d2d0fa3e0e6381fb51d3189d530f31b1 parent 69ebb98 commit 78f9fff
File tree
1 file changed
+4
-2
lines changed- services/java/com/android/server/am
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9694 | 9694 | | |
9695 | 9695 | | |
9696 | 9696 | | |
| 9697 | + | |
| 9698 | + | |
9697 | 9699 | | |
9698 | | - | |
| 9700 | + | |
9699 | 9701 | | |
9700 | 9702 | | |
9701 | 9703 | | |
| |||
9706 | 9708 | | |
9707 | 9709 | | |
9708 | 9710 | | |
9709 | | - | |
| 9711 | + | |
9710 | 9712 | | |
9711 | 9713 | | |
9712 | 9714 | | |
| |||
0 commit comments