diff options
author | kmccormick <kmccormick@google.com> | 2013-03-28 01:53:02 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-03-28 01:53:02 +0000 |
commit | 821d4943702e49844629ae9b522383a21210a64f (patch) | |
tree | 6bd63874c3d49c98f9354bc11eb4ab497ccedd26 /docs/html | |
parent | 6e6e861a58da7bc39e1fbad9ed8730c712e45123 (diff) | |
parent | be7b87c5499ccb21e6d9c293e1b4182953666508 (diff) | |
download | frameworks_base-821d4943702e49844629ae9b522383a21210a64f.zip frameworks_base-821d4943702e49844629ae9b522383a21210a64f.tar.gz frameworks_base-821d4943702e49844629ae9b522383a21210a64f.tar.bz2 |
Merge "Doc update: use parse, not new" into jb-mr1.1-docs
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 0086913..24ecc46 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); } |