diff options
author | Christian Mehlmauer <FireFart@gmail.com> | 2010-05-17 21:16:20 +0200 |
---|---|---|
committer | Christian Mehlmauer <FireFart@gmail.com> | 2010-05-17 21:16:20 +0200 |
commit | 746a95ab7145a1c7583d1f2d6004a508cd7a31dc (patch) | |
tree | 067e8da2b4c6ecdd5d4f6327ee0aa36387285490 /cmds/am | |
parent | 1152df7e82f1501e72aee1641d028bd7201f6d0b (diff) | |
download | frameworks_base-746a95ab7145a1c7583d1f2d6004a508cd7a31dc.zip frameworks_base-746a95ab7145a1c7583d1f2d6004a508cd7a31dc.tar.gz frameworks_base-746a95ab7145a1c7583d1f2d6004a508cd7a31dc.tar.bz2 |
Removed Calls to deprecated APIs
Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
Diffstat (limited to 'cmds/am')
-rw-r--r-- | cmds/am/src/com/android/commands/am/Am.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java index 13e6d5c..20eaf05 100644 --- a/cmds/am/src/com/android/commands/am/Am.java +++ b/cmds/am/src/com/android/commands/am/Am.java @@ -160,7 +160,7 @@ public class Am { String uri = nextArg(); if (uri != null) { Intent oldIntent = intent; - intent = Intent.getIntent(uri); + intent = Intent.parseUri(uri, 0); if (oldIntent.getAction() != null) { intent.setAction(oldIntent.getAction()); } |