Skip to content

Commit

Permalink
Replaced deprecated getIntent with parseUri
Browse files Browse the repository at this point in the history
Change-Id: Ie3918b5896c922403e4fb58b81aacd52d364e11d
  • Loading branch information
firefart authored and hyperb1iss committed Jul 22, 2010
1 parent 2885f9a commit c9f071f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private void updateShortcuts() {
String intentURI = c.getString(COLUMN_INTENT);
Intent intent = null;
try {
intent = Intent.getIntent(intentURI);
intent = Intent.parseUri(intentURI, 0);
} catch (URISyntaxException e) {
Log.w(TAG, "Intent URI for shortcut invalid.", e);
}
Expand Down

0 comments on commit c9f071f

Please sign in to comment.