Removed Calls to deprecated APIs and unused imports

Change-Id: Ibaaf3418ec2c97a99495eca7ea546af415370c3e
This commit is contained in:
Christian Mehlmauer
2010-05-17 21:25:15 +02:00
parent a7ece710fe
commit 0193bf8b3d
3 changed files with 4 additions and 12 deletions

View File

@@ -178,7 +178,7 @@ public class QuickLaunchSettings extends PreferenceActivity implements
}
public void onClick(DialogInterface dialog, int which) {
if (mClearDialogShortcut > 0 && which == AlertDialog.BUTTON1) {
if (mClearDialogShortcut > 0 && which == AlertDialog.BUTTON_POSITIVE) {
// Clear the shortcut
clearShortcut(mClearDialogShortcut);
}