title: Android: AIDL parameter receiving null
body: <p>I got an activity and a service that are binded.</p>
  
  <p>When the onServiceConnected is called in the ServiceConnection, I do the next thing:</p>
  
  <pre><code>mInterfaceObject = IInterface1.Stub.asInterface(arg1);
  
  mInterfaceObject.register(mController);
  </code></pre>
  
  <p>Where mController is:</p>
  
  <pre><code>private final IInterface2.Stub mController = new IInterface2.Stub() {
  </code></pre>
  
  <p>Both IInterface1 and IInterface2 are AIDL files.</p>
  
  <p>Now the problem.
  In the implementation of the register in the service. The parameter will be null.</p>
  
  <p>What am I doing wrong?</p>