From d0e7d88f43bcd7d612a880f3525ef40dbe8f461a Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Fri, 15 Mar 2013 19:32:32 -0700 Subject: [PATCH] Fix undo to use the correct URI. Bug: 8373349 Change-Id: Ia23b60a1f82be16cb48afe5cf239e1c588b192a1 --- src/com/android/email/provider/EmailProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index d36700e37..7776409a6 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -2245,7 +2245,7 @@ outer: .add(UIProvider.AccountColumns.FULL_FOLDER_LIST_URI, uriWithId("uiallfolders")) .add(UIProvider.AccountColumns.NAME, AccountColumns.DISPLAY_NAME) .add(UIProvider.AccountColumns.UNDO_URI, - ("'content://" + UIProvider.AUTHORITY + "/uiundo'")) + ("'content://" + EmailContent.AUTHORITY + "/uiundo'")) .add(UIProvider.AccountColumns.URI, uriWithId("uiaccount")) .add(UIProvider.AccountColumns.SEARCH_URI, uriWithId("uisearch")) // TODO: Is provider version used? @@ -2950,7 +2950,7 @@ outer: } if (colPosMap.containsKey(UIProvider.AccountColumns.UNDO_URI)) { values[colPosMap.get(UIProvider.AccountColumns.UNDO_URI)] = - "'content://" + UIProvider.AUTHORITY + "/uiundo'"; + "'content://" + EmailContent.AUTHORITY + "/uiundo'"; } if (colPosMap.containsKey(UIProvider.AccountColumns.URI)) { values[colPosMap.get(UIProvider.AccountColumns.URI)] =