Removed Calls to deprecated APIs and unused imports
Change-Id: Ibaaf3418ec2c97a99495eca7ea546af415370c3e
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user