title: WearableListenerService - onPeerConnected never called
body: <p>I created simple Phone&lt;->Wear App.</p>
  
  <p>Wear app has one Activity with code:</p>
  
  <pre><code>public class MainActivity extends Activity implements GoogleApiClient.ConnectionCallbacks {
  
  private TextView mTextView;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      final WatchViewStub stub = (WatchViewStub) findViewById(R.id.watch_view_stub);
      stub.setOnLayoutInflatedListener(new WatchViewStub.OnLayoutInflatedListener() {
          @Override
          public void onLayoutInflated(WatchViewStub stub) {
              mTextView = (TextView) stub.findViewById(R.id.text);
          }
      });
  
      getGoogleApiClient(this).connect();
  }
  
  
  private GoogleApiClient getGoogleApiClient(Context context) {
      return new GoogleApiClient.Builder(context)
              .addApi(Wearable.API)
              .addConnectionCallbacks(this)
              .build();
  }
  
  @Override
  public void onConnected(Bundle bundle) {
  
      Toast.makeText(this, "onConnected", Toast.LENGTH_SHORT).show();
  }
  
  @Override
  public void onConnectionSuspended(int i) {
  
      Toast.makeText(this, "onConnectionSuspended", Toast.LENGTH_SHORT).show();
  }}
  </code></pre>
  
  <p>And Phone app has one WearableListenerService</p>
  
  <pre><code>public class ListenerOfConnection extends WearableListenerService  {
  
  private static final String TAG = "DataLayerListenerServic";
  
  
  protected GoogleApiClient googleApiClient;
  @Override
  public void onCreate() {
      super.onCreate();
      Toast.makeText(ListenerOfConnection.this, "onCreate", Toast.LENGTH_SHORT).show();
      googleApiClient = new GoogleApiClient.Builder(this)
              .addApi(Wearable.API)
              .build();
  
      googleApiClient.connect();
  }
  
  
  @Override
  public void onPeerConnected(Node peer) {
      super.onPeerConnected(peer);
      Toast.makeText(ListenerOfConnection.this, "onPeerConnected", Toast.LENGTH_SHORT).show();
      LOGD(TAG, "onPeerConnected: " + peer);
  }
  
  @Override
  public void onPeerDisconnected(Node peer) {
      super.onPeerDisconnected(peer);
      Toast.makeText(ListenerOfConnection.this, "onPeerDisconnected", Toast.LENGTH_SHORT).show();
      LOGD(TAG, "onPeerDisconnected: " + peer);
  }
  
  public static void LOGD(final String tag, String message) {
      if (Log.isLoggable(tag, Log.DEBUG)) {
          Log.d(tag, message);
      }
  }}
  </code></pre>
  
  <p>The problem is that <code>onPeerConnected</code> and <code>onPeerDisconnected</code> are <strong>never called</strong>, also <code>onCreate</code> is not called if I not send any message.</p>
  
  <p>And if i send few messages <code>onCreate</code> is called but <code>onPeerConnected</code> and <code>onPeerDisconnected</code> <strong>never</strong>...</p>
  
  <p>Before questions to me:
  1. applicationId is the same
  2. <code>onConnected</code> is called on wearable Activity</p>