Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da505fe5 authored by kmccormick's avatar kmccormick Committed by Android Git Automerger
Browse files

am 61c213ad: am fcc42da4: am 7aec7790: am 061d4a95: am 3af7b848: am 821d4943:...

am 61c213ad: am fcc42da4: am 7aec7790: am 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs

* commit '61c213ad':
  Doc update: use parse, not new
parents d805e374 61c213ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ app can properly identify the result and determine how to handle it.</p>
static final int PICK_CONTACT_REQUEST = 1;  // The request code
...
private void pickContact() {
    Intent pickContactIntent = new Intent(Intent.ACTION_PICK, new Uri("content://contacts"));
    Intent pickContactIntent = new Intent(Intent.ACTION_PICK, Uri.parse("content://contacts"));
    pickContactIntent.setType(Phone.CONTENT_TYPE); // Show user only contacts w/ phone numbers
    startActivityForResult(pickContactIntent, PICK_CONTACT_REQUEST);
}