diff options
author | kmccormick <kmccormick@google.com> | 2013-03-27 19:33:32 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-03-27 19:33:32 -0700 |
commit | d5ac2158ed9905d3f0e32ab842a989f356aeef7c (patch) | |
tree | 5967f4c2bb8eda6ce8ebfb1d56b8f82a51e04083 /docs | |
parent | 34ba179091be99a32f6c6d205e30cb8e28631ff1 (diff) | |
parent | da505fe54e50c1a72bb9d0897b2eb6f97b31df6d (diff) | |
download | frameworks_base-d5ac2158ed9905d3f0e32ab842a989f356aeef7c.zip frameworks_base-d5ac2158ed9905d3f0e32ab842a989f356aeef7c.tar.gz frameworks_base-d5ac2158ed9905d3f0e32ab842a989f356aeef7c.tar.bz2 |
am da505fe5: 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 'da505fe54e50c1a72bb9d0897b2eb6f97b31df6d':
Doc update: use parse, not new
Diffstat (limited to 'docs')
-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); } |