diff options
-rw-r--r-- | src/com/android/settings/quicklaunch/QuickLaunchSettings.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/quicklaunch/QuickLaunchSettings.java b/src/com/android/settings/quicklaunch/QuickLaunchSettings.java index ca5d3ab..2d2b01c 100644 --- a/src/com/android/settings/quicklaunch/QuickLaunchSettings.java +++ b/src/com/android/settings/quicklaunch/QuickLaunchSettings.java @@ -204,7 +204,7 @@ public class QuickLaunchSettings extends PreferenceActivity implements return true; } - public boolean onItemLongClick(AdapterView parent, View view, int position, long id) { + public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { // Open the clear shortcut dialog Preference pref = (Preference) getPreferenceScreen().getRootAdapter().getItem(position); @@ -314,7 +314,7 @@ public class QuickLaunchSettings extends PreferenceActivity implements String intentUri = c.getString(intentColumn); PackageManager packageManager = getPackageManager(); try { - Intent intent = Intent.getIntent(intentUri); + Intent intent = Intent.parseUri(intentUri, 0); ResolveInfo info = packageManager.resolveActivity(intent, 0); if (info != null) { title = info.loadLabel(packageManager); |