title: Test activity from another task
body: <p>I am trying to test my activity which has a button to go to a People application with ActivityInstrumentationTestCase2. But the problem is People application starts edit activity in another task, and clearly I don't have access there. So, what to do? How to send signals to People application? </p>
  
  <p>My intent is:</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_INSERT);
  intent.setType(ContactsContract.Contacts.CONTENT_TYPE);
  
  intent.putExtra(ContactsContract.Intents.Insert.NAME, "");
  intent.putExtra(ContactsContract.Intents.Insert.PHONE, "");
  </code></pre>