Will we leak the android service connection if the client's process is killed by android?
问题 Condition: I have a client activity "X" of a remote service (with AIDL) that calls the bindService() in the onCreate() and unbindService() in the onDestroy() . Assume that this activity has been started but not in the foreground ( onStop() has happened). It is said that when android system needs more memory elsewhere it might kill the process of another activity with less priority (possibly "X"). If, says, the android system decides to kill "X"'s process, according to the activity-lifecycle