diff options
author | kmccormick <kmccormick@google.com> | 2013-03-27 18:57:24 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-03-27 18:57:24 -0700 |
commit | 3af7b848143bef17230674bbed79ca77d3527e8e (patch) | |
tree | 6bd63874c3d49c98f9354bc11eb4ab497ccedd26 /docs/html | |
parent | 65c66c74f4db7d16ccff1a67f416f74c716b3773 (diff) | |
parent | 821d4943702e49844629ae9b522383a21210a64f (diff) |
am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs
* commit '821d4943702e49844629ae9b522383a21210a64f':
Doc update: use parse, not new
Diffstat (limited to 'docs/html')
-rw-r--r-- | docs/html/training/basics/intents/result.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/training/basics/intents/result.jd b/docs/html/training/basics/intents/result.jd index 008691314e5a..24ecc46f5819 100644 --- a/docs/html/training/basics/intents/result.jd +++ b/docs/html/training/basics/intents/result.jd @@ -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); } |