Fix broken breakage introduced in I2a7fec0d

This file was left unchanged somehow...

Change-Id: I1b441731c71b63401c8b756e8e591c3018c07e35
This commit is contained in:
Makoto Onuki 2010-08-26 13:36:58 -07:00
parent ac1b23b944
commit bd3e7777c5

View File

@ -378,9 +378,7 @@ public class AccountSettingsXL extends PreferenceActivity
// Kick off the work to actually delete the account
// Clear notifications, which may become stale here
NotificationManager notificationManager = (NotificationManager)
getSystemService(Context.NOTIFICATION_SERVICE);
notificationManager.cancel(MailService.NOTIFICATION_ID_NEW_MESSAGES);
MailService.cancelNewMessageNotification(this);
// Delete the account (note, this is async. Would be nice to get a callback.
Controller.getInstance(this).deleteAccount(account.mId);