replaced deprecated getIntent with parseURI

Change-Id: Ice9e74fd8f729d7efad934d2de4c747d73be562e
This commit is contained in:
Christian Mehlmauer
2010-05-25 19:04:20 +02:00
parent d6c1919779
commit a34d2c9a22

View File

@@ -3779,7 +3779,7 @@ public final class Settings {
while (intent == null && c.moveToNext()) {
try {
String intentURI = c.getString(c.getColumnIndexOrThrow(INTENT));
intent = Intent.getIntent(intentURI);
intent = Intent.parseUri(intentURI, 0);
} catch (java.net.URISyntaxException e) {
// The stored URL is bad... ignore it.
} catch (IllegalArgumentException e) {
@@ -3889,7 +3889,7 @@ public final class Settings {
Intent intent;
try {
intent = Intent.getIntent(intentUri);
intent = Intent.parseUri(intentUri, 0);
} catch (URISyntaxException e) {
return "";
}