title: Can an Android service provide two interfaces to communicate with?
body: <p>I have a service that communicates through AIDL with other services. I want that service to be bound by activities in my application. Can the service define two binders\interfaces? I've tried yo use a messenger for communicating with the activities, overriding "onBind" method so that it returns a different binder according to the intent it gets (one for the other services and one for the activities). </p>
  
  <p>But when the activities (that use the same binder) unbind from the service, I have an error "myService has leaked ServiceConnection ... that was originally bound here", which I believe is about the binder the service use to communicate with the other services.<br>
  If a service cant use two interfaces, how can I implement the communication between the activities and that service?</p>
  
  <p>thank you,
  -Liron</p>