From 91107a4c56176554fe66f8592ea8251117462eb8 Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Mon, 18 Mar 2013 14:41:24 -0700 Subject: [PATCH] Remove useless UI notifications in uiUndo. The uris supplied for these are bogus (lack IDs), and at any rate the actual undo itself should notify the UI. (That's currently broken, but not for want of trying, but the point is that needs to get fixed anyway.) Bug: 8373349 Change-Id: Id0f4e9fa45f2ece42d07f1f350d841f00270a8d9 --- src/com/android/email/provider/EmailProvider.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 7776409a6..bee90637d 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -4169,11 +4169,6 @@ outer: applyBatch(mLastSequenceOps); // But clear the operations mLastSequenceOps.clear(); - // Tell the UI there are changes - ContentResolver resolver = getContext().getContentResolver(); - resolver.notifyChange(UIPROVIDER_CONVERSATION_NOTIFIER, null); - resolver.notifyChange(UIPROVIDER_FOLDER_NOTIFIER, null); - resolver.notifyChange(UIPROVIDER_FOLDERLIST_NOTIFIER, null); return c; } catch (OperationApplicationException e) { }