今天突發奇想,想知道:Android中,A bindService B以後,若是 A 或者 B 被 kill 掉了會怎麼樣呢?測試
1. kill A,毫無疑問應該是:spa
2. kill B,那麼會是怎麼樣呢?rest
- A will receive onServiceDisconnected call back.
- And A will reconnect B ?
- or A will re-bindService B ?
- or A will receive onServiceConnected B, if B is restarted ? 通過測試,這纔是正確的