From 746a95ab7145a1c7583d1f2d6004a508cd7a31dc Mon Sep 17 00:00:00 2001
From: Christian Mehlmauer <FireFart@gmail.com>
Date: Mon, 17 May 2010 21:16:20 +0200
Subject: Removed Calls to deprecated APIs

Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
---
 cmds/am/src/com/android/commands/am/Am.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cmds/am')

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());
             }
-- 
cgit v1.1